How to merge two formulas in to one formula

Ingemar

New Member
Joined
May 8, 2017
Messages
23
Office Version
  1. 365
Platform
  1. Windows
Hello Excel specialists,

I have two formulas I would like to merge:

First formula
=IFERROR(VLOOKUP($A8,List2!A:T,9,0),"Value not found")
This formula is checking if cell value of A8 exists in List 2


Second formula
=IF(ISBLANK(VLOOKUP($A8,List2!A:T,9,0)),"Empty",VLOOKUP($A8,List2!A:T,9,0))
This formula is checking if a cell in List 2 is blank. If not, the formula will return the cell value 9 columns to the right of the VLOOKUP cell.

Booth formulas above are working fine when they are separated. I am trying to merge the formulas like the example below but I get the message that "You've entered too many arguments for this function."

=IFERROR(VLOOKUP($A8,List2!A:T,9,0),"Value not found",IF(ISBLANK(VLOOKUP($A8,List2!A:T,9,0)),"Empty",VLOOKUP($A8,List2!A:T,9,0)))

Any kind of help is appreciated.

Kind regards

Ingemar
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Are the values that the formula returns text or numbers?
 
Upvote 0
Ignore my previous question, didn't realise you have three possible responses.

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Try
Excel Formula:
=IF(ISERROR(VLOOKUP($A8,List2!A:T,9,0)),"Value not found",IF(ISBLANK(VLOOKUP($A8,List2!A:T,9,0)),"Empty",VLOOKUP($A8,List2!A:T,9,0)))
 
Upvote 0
Hello Fluff,

Your formula works great. T H A N K Y O U very much for your help.

Kind regards

Ingemar
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,552
Members
449,088
Latest member
davidcom

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