Lookup formula
Hi,
I have a lookup formula like this: =IF(ISERROR(IF($D1="ruth baybutt",HLOOKUP(A$3,ruth baybut!F:N,3,0),HLOOKUP(A$3,sheet1!F:N,3,0))),0,IF ($D1="ruth baybutt",HLOOKUP(A$3,ruthbaybutt!F:N,3,0),HLOOKUP( A$3,sheet1!F:N,3,0))) So basically it is looking to see if cell d1 exists on the ruth baybut sheet and if so looking up a formula on that sheet, if not then it is looking up the formula on sheet1 instead. Is there a quicker/smaller formula for doing this please? |
Lookup formula
posted twice in error
"Michael" wrote: Hi, I have a lookup formula like this: =IF(ISERROR(IF($D1="ruth baybutt",HLOOKUP(A$3,ruth baybut!F:N,3,0),HLOOKUP(A$3,sheet1!F:N,3,0))),0,IF ($D1="ruth baybutt",HLOOKUP(A$3,ruthbaybutt!F:N,3,0),HLOOKUP( A$3,sheet1!F:N,3,0))) So basically it is looking to see if cell d1 exists on the ruth baybut sheet and if so looking up a formula on that sheet, if not then it is looking up the formula on sheet1 instead. Is there a quicker/smaller formula for doing this please? |
All times are GMT +1. The time now is 09:37 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com