# Combine 2 Argument into Single (for Lookup)

##### Well-known Member
hi expert..

i need your help, how to combine this 2 argument in single argument :

INDEX(\$L\$2:\$L\$31;MATCH(A17;\$K\$2:\$K\$31;0)+IF(master!F2>0;0;IF(master!F2=0;2;1)))

i want this below formula can be inserted in above formula
=VLOOKUP(I2;master!\$A\$2:\$O\$5;6;FALSE)

i have trying to combine it but not working :
=VLOOKUP(I2;master!\$A\$2:\$O\$5;6;FALSE);INDEX(\$L\$2:\$L\$31;MATCH(A17;\$K\$2:\$K\$31;0)+IF(master!F2>0;0;IF(master!F2=0;2;1)))

i want to make lookup!

anybody help me greatly appreciated..

.sst

### Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

##### Well-known Member
how to make correct them :

=VLOOKUP(I2;master!\$A\$2:\$O\$5;6;FALSE);INDEX(\$L\$2:\$L\$31;MATCH(A17;\$K\$2:\$K\$31;0)+IF(master!F2>0;0;IF(master!F2=0;2;1)))

the red is lookup argument , sheet "master" is reference and cell I2 as lookup number..

#### Fluff

##### MrExcel MVP, Moderator
Cross posted https://www.excelforum.com/excel-fo...p-problem-with-long-argument.html#post5168228

While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.

Replies
1
Views
309
Replies
1
Views
626
Replies
7
Views
184
Replies
7
Views
97
Replies
5
Views
126

1,127,347
Messages
5,624,136
Members
416,012
Latest member
rockermom59

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