Thanks for reading this - I have been working on a spreadsheet for sometime now. I have been stumped at this point for a while and need help.
here is what I am trying to accomlish - I have up to 4 cells that will have a worksheet referenced in them. I then need to pull data from any of the said worksheets and put it into the first worksheet. This code works but only if I have one cell that I am pulling info from. I have tried OR statements with COUNTIF statements but no luck. Let me know if any of you have some ideas. Thanks.
=IF(AND(ISNUMBER(C17),COUNTIF(H9:K9,"?*")),VLOOKUP(C17,INDIRECT(H9&"!A1:Z1000"),8,FALSE),"NA")
the vlookup would be the same for all
the cells that reference other sheets are H9,I9,J9,K9
C17 contains the info I need to match and pull from said worksheets. - one last note, it is possible that information contained on the sheets could overlap I would like to take the lower of these values if possible. not a necessity but if possible wanted to ask.
Thanks in advance
here is what I am trying to accomlish - I have up to 4 cells that will have a worksheet referenced in them. I then need to pull data from any of the said worksheets and put it into the first worksheet. This code works but only if I have one cell that I am pulling info from. I have tried OR statements with COUNTIF statements but no luck. Let me know if any of you have some ideas. Thanks.
=IF(AND(ISNUMBER(C17),COUNTIF(H9:K9,"?*")),VLOOKUP(C17,INDIRECT(H9&"!A1:Z1000"),8,FALSE),"NA")
the vlookup would be the same for all
the cells that reference other sheets are H9,I9,J9,K9
C17 contains the info I need to match and pull from said worksheets. - one last note, it is possible that information contained on the sheets could overlap I would like to take the lower of these values if possible. not a necessity but if possible wanted to ask.
Thanks in advance