Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
VLOOKUP
Below is the current formula I have, however, I need to change some
criteria, which now requires a change in the formula. Still the same look up, but if c8="Internal" then vlookup D3..E60, if c8="external" then vlookup G3..H60, if c8="none" then do nothing. How would I change the formula below to make it work? =IF(C8<"yes","",IF(ISNA(VLOOKUP(A8&"-"&F8&"-"&G8,'Writing Charges'!$D$3:$E$60,2,0)),"",VLOOKUP(A8&"-"&F8&"-"&G8,'Writing Charges'!$D$3:$E$60,2,0)*I8)) |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
VLOOKUP
Try this:
=IF(OR(C8={"None";""}),"",VLOOKUP(A8&"-"&F8&"-"&G8,INDIRECT(CHOOSE(MATCH(C8,{"Internal";"Externa l"},0),"'Writing Charges'!D3:E60","'Writing Charges'!G3:H60")),2,0)*I8) -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Karen Smith" wrote: Below is the current formula I have, however, I need to change some criteria, which now requires a change in the formula. Still the same look up, but if c8="Internal" then vlookup D3..E60, if c8="external" then vlookup G3..H60, if c8="none" then do nothing. How would I change the formula below to make it work? =IF(C8<"yes","",IF(ISNA(VLOOKUP(A8&"-"&F8&"-"&G8,'Writing Charges'!$D$3:$E$60,2,0)),"",VLOOKUP(A8&"-"&F8&"-"&G8,'Writing Charges'!$D$3:$E$60,2,0)*I8)) |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
VLOOKUP
Awesome, Thank you!!
"Max" wrote: Try this: =IF(OR(C8={"None";""}),"",VLOOKUP(A8&"-"&F8&"-"&G8,INDIRECT(CHOOSE(MATCH(C8,{"Internal";"Externa l"},0),"'Writing Charges'!D3:E60","'Writing Charges'!G3:H60")),2,0)*I8) -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Karen Smith" wrote: Below is the current formula I have, however, I need to change some criteria, which now requires a change in the formula. Still the same look up, but if c8="Internal" then vlookup D3..E60, if c8="external" then vlookup G3..H60, if c8="none" then do nothing. How would I change the formula below to make it work? =IF(C8<"yes","",IF(ISNA(VLOOKUP(A8&"-"&F8&"-"&G8,'Writing Charges'!$D$3:$E$60,2,0)),"",VLOOKUP(A8&"-"&F8&"-"&G8,'Writing Charges'!$D$3:$E$60,2,0)*I8)) |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
VLOOKUP
welcome, Karen.
-- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Karen Smith" wrote in message ... Awesome, Thank you!! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
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 | |||
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( | Excel Worksheet Functions | |||
Vlookup info being used without vlookup table attached? | Excel Worksheet Functions |