Excel Formula - Display Values Not In Use The 2019 Stack Overflow Developer Survey Results Are...

What is the use of option -o in the useradd command?

Limit the amount of RAM Mathematica may access?

Geography at the pixel level

Monty Hall variation

Why is it "Tumoren" and not "Tumore"?

Why could you hear an Amstrad CPC working?

Is domain driven design an anti-SQL pattern?

Is it possible for the two major parties in the UK to form a coalition with each other instead of a much smaller party?

Does a dangling wire really electrocute me if I'm standing in water?

How was Skylab's orbit inclination chosen?

Manuscript was "unsubmitted" because the manuscript was deposited in Arxiv Preprints

What do the Banks children have against barley water?

Landlord wants to switch my lease to a "Land contract" to "get back at the city"

Does it makes sense to buy a new cycle to learn riding?

Why did Howard Stark use all the Vibranium they had on a prototype shield?

Why do UK politicians seemingly ignore opinion polls on Brexit?

Is flight data recorder erased after every flight?

Does duplicating a spell with Wish count as casting that spell?

I looked up a future colleague on LinkedIn before I started a job. I told my colleague about it and he seemed surprised. Should I apologize?

How long do I have to send payment?

Lethal sonic weapons

"Riffle" two strings

Understanding the implication of what "well-defined" means for the operation in quotient group

CiviEvent: Public link for events of a specific type



Excel Formula - Display Values Not In Use



The 2019 Stack Overflow Developer Survey Results Are InLooking up (text)values in Excel arrayIn Excel I need to find data matches between two arrays - one horizontal and one verticalVlookup not registering range changes in calculationFormula =IF(VLOOKUP(…)=Cell;…) does not workExcel, how to check cell value against a column of values?Excel Formula to autopopulate a cell and mark as Assignedhow to use INDEX and MATCH in this condition in excel?In Excel 2010 how do I INDEX, MATCH,and return values containing a tilde “~” within them, not at the beginning or end of themVLOOKUP, If exists use other valueDisplay Value If It Does Not Exist





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I am trying to populate a cell, and only display value if it does not already exist. If it exists, then display another value.



...But I cannot get my head around how to do this.



I currently have the following formula placed on cells in the E column



=INDEX(config!H2:H20,
MATCH(1,
(F4=config!F2:F20)*(VLOOKUP(D4,config!C2:D20,2,FALSE)=config!G2:G20),0))


This matches some other criteria as you can see here. However, what you can also see is the value 7 is getting displayed twice. I'm wanting it not to display any values in use.



enter image description here
So, I then added an extra column, called 'Room In Use' in a config sheet, where the data is coming from... this column has some formulas to check if the values are in use



=NOT(ISERROR(MATCH(H2,Sheet1!E2:E41,0)))


You can see this in action here: enter image description here



So, going back to my sheet1, I think this formula needs another condition to say If room in use == FALSE then do



=INDEX(config!H2:H20,
MATCH(1,
(F4=config!F2:F20)*(VLOOKUP(D4,config!C2:D20,2,FALSE)=config!G2:G20),0))


else if all rooms are TRUE then display 'None Available'



Is this even possible in an excel formula or will I need to use VBA?



I have attached my excel document here: https://www.dropbox.com/s/crmbbp8esdvnv29/Book1.xlsm?dl=0










share|improve this question





























    0















    I am trying to populate a cell, and only display value if it does not already exist. If it exists, then display another value.



    ...But I cannot get my head around how to do this.



    I currently have the following formula placed on cells in the E column



    =INDEX(config!H2:H20,
    MATCH(1,
    (F4=config!F2:F20)*(VLOOKUP(D4,config!C2:D20,2,FALSE)=config!G2:G20),0))


    This matches some other criteria as you can see here. However, what you can also see is the value 7 is getting displayed twice. I'm wanting it not to display any values in use.



    enter image description here
    So, I then added an extra column, called 'Room In Use' in a config sheet, where the data is coming from... this column has some formulas to check if the values are in use



    =NOT(ISERROR(MATCH(H2,Sheet1!E2:E41,0)))


    You can see this in action here: enter image description here



    So, going back to my sheet1, I think this formula needs another condition to say If room in use == FALSE then do



    =INDEX(config!H2:H20,
    MATCH(1,
    (F4=config!F2:F20)*(VLOOKUP(D4,config!C2:D20,2,FALSE)=config!G2:G20),0))


    else if all rooms are TRUE then display 'None Available'



    Is this even possible in an excel formula or will I need to use VBA?



    I have attached my excel document here: https://www.dropbox.com/s/crmbbp8esdvnv29/Book1.xlsm?dl=0










    share|improve this question

























      0












      0








      0








      I am trying to populate a cell, and only display value if it does not already exist. If it exists, then display another value.



      ...But I cannot get my head around how to do this.



      I currently have the following formula placed on cells in the E column



      =INDEX(config!H2:H20,
      MATCH(1,
      (F4=config!F2:F20)*(VLOOKUP(D4,config!C2:D20,2,FALSE)=config!G2:G20),0))


      This matches some other criteria as you can see here. However, what you can also see is the value 7 is getting displayed twice. I'm wanting it not to display any values in use.



      enter image description here
      So, I then added an extra column, called 'Room In Use' in a config sheet, where the data is coming from... this column has some formulas to check if the values are in use



      =NOT(ISERROR(MATCH(H2,Sheet1!E2:E41,0)))


      You can see this in action here: enter image description here



      So, going back to my sheet1, I think this formula needs another condition to say If room in use == FALSE then do



      =INDEX(config!H2:H20,
      MATCH(1,
      (F4=config!F2:F20)*(VLOOKUP(D4,config!C2:D20,2,FALSE)=config!G2:G20),0))


      else if all rooms are TRUE then display 'None Available'



      Is this even possible in an excel formula or will I need to use VBA?



      I have attached my excel document here: https://www.dropbox.com/s/crmbbp8esdvnv29/Book1.xlsm?dl=0










      share|improve this question














      I am trying to populate a cell, and only display value if it does not already exist. If it exists, then display another value.



      ...But I cannot get my head around how to do this.



      I currently have the following formula placed on cells in the E column



      =INDEX(config!H2:H20,
      MATCH(1,
      (F4=config!F2:F20)*(VLOOKUP(D4,config!C2:D20,2,FALSE)=config!G2:G20),0))


      This matches some other criteria as you can see here. However, what you can also see is the value 7 is getting displayed twice. I'm wanting it not to display any values in use.



      enter image description here
      So, I then added an extra column, called 'Room In Use' in a config sheet, where the data is coming from... this column has some formulas to check if the values are in use



      =NOT(ISERROR(MATCH(H2,Sheet1!E2:E41,0)))


      You can see this in action here: enter image description here



      So, going back to my sheet1, I think this formula needs another condition to say If room in use == FALSE then do



      =INDEX(config!H2:H20,
      MATCH(1,
      (F4=config!F2:F20)*(VLOOKUP(D4,config!C2:D20,2,FALSE)=config!G2:G20),0))


      else if all rooms are TRUE then display 'None Available'



      Is this even possible in an excel formula or will I need to use VBA?



      I have attached my excel document here: https://www.dropbox.com/s/crmbbp8esdvnv29/Book1.xlsm?dl=0







      microsoft-excel worksheet-function microsoft-excel-2010 vba microsoft-excel-2007






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 2 days ago









      user1472266user1472266

      1256




      1256






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1422658%2fexcel-formula-display-values-not-in-use%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1422658%2fexcel-formula-display-values-not-in-use%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...