Combining 2 Working Formulas Results in #NAME?

meppwc

Well-known Member
Joined
May 16, 2003
Messages
626
Office Version
  1. 365
Platform
  1. Windows
In cell A2 of the “MAIN” worksheet, I am attempting to combine these 2 formulas together.
When I do, the formula returns “#NAME?”
I suspect my syntax is incorrect, can someone offer assistance?

FORMULA 1
=IFERROR(XLOOKUP(F2,'FMA TABLE'!D:D,'FMA TABLE'!E:E),"")

FORMULA 2
=IFERROR(XLOOKUP(F2,'SLNX TABLE'!D:D,'SLNX TABLE'!C:C),"")

FORMULA 1 AND 2 COMBINED
=IFERROR(XLOOKUP(F2,'FMA TABLE'!D:D,'FMA TABLE'!E:E),IFERROR(XLOOKUP(F2,'SLNX TABLE'!D:D,'SLNX TABLE'!C:C),””))
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Your combined formula seems to have slanted double-quotes, which Excel does not like. Try using straight up and down ones, i.e. change this:
Rich (BB code):
=IFERROR(XLOOKUP(F2,'FMA TABLE'!D:D,'FMA TABLE'!E:E),IFERROR(XLOOKUP(F2,'SLNX TABLE'!D:D,'SLNX TABLE'!C:C),””))
to this:
Rich (BB code):
=IFERROR(XLOOKUP(F2,'FMA TABLE'!D:D,'FMA TABLE'!E:E),IFERROR(XLOOKUP(F2,'SLNX TABLE'!D:D,'SLNX TABLE'!C:C),""))
 
Upvote 0
You can also use xlookup's in built error handling like
Excel Formula:
=XLOOKUP(F2,'FMA TABLE'!D:D,'FMA TABLE'!E:E,XLOOKUP(F2,'SLNX TABLE'!D:D,'SLNX TABLE'!C:C,""))
 
Upvote 0
Joe4, Fluff, thank you both so much. Everything is working as expected and I have learned A LOT from both of you.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,912
Messages
6,175,340
Members
452,638
Latest member
Oluwabukunmi

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top