# How to merge two formulas in to one formula

#### Ingemar

##### New Member
Hello Excel specialists,

I have two formulas I would like to merge:

First formula
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."

Any kind of help is appreciated.

Kind regards

Ingemar

### Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

#### Fluff

##### MrExcel MVP, Moderator
Are the values that the formula returns text or numbers?

#### Fluff

##### MrExcel MVP, Moderator
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)))``

#### Ingemar

##### New Member
Hello Fluff,

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

Kind regards

Ingemar

#### Fluff

##### MrExcel MVP, Moderator
You're welcome & thanks for the feedback.

Replies
15
Views
361
Replies
7
Views
250
Replies
1
Views
597
Replies
3
Views
423
Replies
1
Views
376

1,148,368
Messages
5,746,287
Members
424,006
Latest member
Metal_warrior

### 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.

### Which adblocker are you using?

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

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