Dave Ashcroft
New Member
- Joined
- May 24, 2008
- Messages
- 24
Can anyone help!!
I have a worksheet cell populated by a Lookup as follows;
=LOOKUP(D4,pfo!A1:A10,pfo!B1:B10),.
I need some way to look at cell C4:C100 and based on it's contents ie "pfo" perform the Lookup as above, if C4 is "pso" then use;
=LOOKUP(D4,pso!A1:A10,pso!B1:B10).
I know that =IF(I4="pfo",LOOKUP(D4,pfo!A1:A10,pfo!B1:B10) works but how do I create the looping to check for the second condition.
Thanks in advance.
I have a worksheet cell populated by a Lookup as follows;
=LOOKUP(D4,pfo!A1:A10,pfo!B1:B10),.
I need some way to look at cell C4:C100 and based on it's contents ie "pfo" perform the Lookup as above, if C4 is "pso" then use;
=LOOKUP(D4,pso!A1:A10,pso!B1:B10).
I know that =IF(I4="pfo",LOOKUP(D4,pfo!A1:A10,pfo!B1:B10) works but how do I create the looping to check for the second condition.
Thanks in advance.