Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
VLookup
I have a vertical lookup which is pulling information from another worksheet
within the same workbook. I want to be able to have the formula look in worksheet #1 and if it does not find it in that worksheet - go to worksheet #2 and do the same vertical lookup. Can someone help me format this? Thanks! |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
VLookup
Marie-Lou,
Try if(isna(vlookup[first]), vlookup[second],vlookpup[first]) It is a bit cryptic, the idea is if the first vlookup returns an error, use the second, if it doesn't use the first. Hope this helps Wkr, JP "Mary Lou" <Mary wrote in message ... I have a vertical lookup which is pulling information from another worksheet within the same workbook. I want to be able to have the formula look in worksheet #1 and if it does not find it in that worksheet - go to worksheet #2 and do the same vertical lookup. Can someone help me format this? Thanks! |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
VLookup
i will try it and let you know. thanks for your very quick response.
can i ask one more question? if i wanted to do some conditional formatting so that if the result came from worksheet #2 - is that possible? like i want the font to be in a different color if the answer came from a specific worksheet. "JP Ronse" wrote: Marie-Lou, Try if(isna(vlookup[first]), vlookup[second],vlookpup[first]) It is a bit cryptic, the idea is if the first vlookup returns an error, use the second, if it doesn't use the first. Hope this helps Wkr, JP "Mary Lou" <Mary wrote in message ... I have a vertical lookup which is pulling information from another worksheet within the same workbook. I want to be able to have the formula look in worksheet #1 and if it does not find it in that worksheet - go to worksheet #2 and do the same vertical lookup. Can someone help me format this? Thanks! |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
VLookup
It doesnt like something. do you mind taking a quick look to see if you know
what I am doing wrong? =IF(isna(VLOOKUP($A8,'2008 Top 40'!$A$8:$B$470,2,FALSE),VLOOKUP($A8,'2008 All Clients'!$A$7:$B4470,2,FALSE),VLOOKUP($A8,'2008 Top 40'!$A$8:$B$470,2,FALSE)) "JP Ronse" wrote: Marie-Lou, Try if(isna(vlookup[first]), vlookup[second],vlookpup[first]) It is a bit cryptic, the idea is if the first vlookup returns an error, use the second, if it doesn't use the first. Hope this helps Wkr, JP "Mary Lou" <Mary wrote in message ... I have a vertical lookup which is pulling information from another worksheet within the same workbook. I want to be able to have the formula look in worksheet #1 and if it does not find it in that worksheet - go to worksheet #2 and do the same vertical lookup. Can someone help me format this? Thanks! |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
VLookup
i think i got the formula to work!
"JP Ronse" wrote: Marie-Lou, Try if(isna(vlookup[first]), vlookup[second],vlookpup[first]) It is a bit cryptic, the idea is if the first vlookup returns an error, use the second, if it doesn't use the first. Hope this helps Wkr, JP "Mary Lou" <Mary wrote in message ... I have a vertical lookup which is pulling information from another worksheet within the same workbook. I want to be able to have the formula look in worksheet #1 and if it does not find it in that worksheet - go to worksheet #2 and do the same vertical lookup. Can someone help me format this? Thanks! |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
VLookup
=IF(isna(VLOOKUP($A8,'2008 Top 40'!$A$8:$B$470,2,FALSE),VLOOKUP($A8,'2008
All Clients'!$A$7:$B4470,2,FALSE),VLOOKUP($A8,'2008 Top 40'!$A$8:$B$470,2,FALSE)) You're missing a closing ")" for the ISNA function. If the lookup value is guaranteed to be on one sheet or the other: =VLOOKUP($A8,IF(COUNTIF('2008 Top 40'!$A$8:$A$470,A8),'2008 Top 40'!$A$8:$B$470,'2008 All Clients'!$A$7:$B4470),2,0) -- Biff Microsoft Excel MVP "Mary Lou" wrote in message ... It doesnt like something. do you mind taking a quick look to see if you know what I am doing wrong? =IF(isna(VLOOKUP($A8,'2008 Top 40'!$A$8:$B$470,2,FALSE),VLOOKUP($A8,'2008 All Clients'!$A$7:$B4470,2,FALSE),VLOOKUP($A8,'2008 Top 40'!$A$8:$B$470,2,FALSE)) "JP Ronse" wrote: Marie-Lou, Try if(isna(vlookup[first]), vlookup[second],vlookpup[first]) It is a bit cryptic, the idea is if the first vlookup returns an error, use the second, if it doesn't use the first. Hope this helps Wkr, JP "Mary Lou" <Mary wrote in message ... I have a vertical lookup which is pulling information from another worksheet within the same workbook. I want to be able to have the formula look in worksheet #1 and if it does not find it in that worksheet - go to worksheet #2 and do the same vertical lookup. Can someone help me format this? Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
VLookUp - Does the VLookUp return the exact information? | Excel Worksheet Functions | |||
Vlookup in vlookup - taking the result as array name | Excel Worksheet Functions | |||
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP | Excel Discussion (Misc queries) | |||
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) | New Users to Excel | |||
Vlookup info being used without vlookup table attached? | Excel Worksheet Functions |