Forum Discussion
Catherine Petty
Nov 01, 2018Copper Contributor
double hlookup in one formula
How can I combine two Hlookups in one formula Worksheet One is my summary sheet Worksheet Two contains UK Ltd data Worksheet Three contains USA Inc data Worksheet one the Summary sheet, cur...
SergeiBaklan
Nov 01, 2018Diamond Contributor
You don't need second "=", something like
=IFERROR(HLOOKUP(A4,'2018 Jan - June LTD'!$J$5:$BB$8,4,FALSE)+HLOOKUP(A4,'2018 Jan - June INC'!$J$5:$BB$8,4,FALSE),"")
Catherine Petty
Nov 02, 2018Copper Contributor
thankyou for your reply.
This seems to only work if there is relevant data in both worksheet, if not it returns a blank, when infact it should return the total of the one worksheet.
Eg Worksheet with relevant data £100.00 + Worksheet without relevant data £0.00 = £100
- SergeiBaklanNov 02, 2018Diamond Contributor
I see. When wrap by IFERROR each part
=IFERROR(HLOOKUP(A4,'2018 Jan - June LTD'!$J$5:$BB$8,4,FALSE),0)+IFERROR(HLOOKUP(A4,'2018 Jan - June INC'!$J$5:$BB$8,4,FALSE),0)
- Catherine PettyNov 02, 2018Copper Contributor
That has worked thank you.