Make Vlookup More Easy and Simple

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,077
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hello all..

i have excel formula, that's make confused :
how to make more easy or similar that, name sheet "Input Lap"
Code:
=VLOOKUP(VLOOKUP($N$2;'Input Lap'!$A:$CQ;ROW([COLOR=#ff0000]A23[/COLOR]);FALSE);'Input Lap'!$A:$CQ;69;FALSE)

i must typing one by one to change cell A23. A24,.....etc....
any help thank in advance...

m.susanto
 
Last edited:
yes. i have do but show "the formula you typed contains error.."
please, help me out...
 
Upvote 0

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
yes. i have do but show "the formula you typed contains error.."
please, help me out...

You file contains this in D112 of LAP REVAL...

=VLOOKUP(VLOOKUP($N$2;'Input Lap'!$A:$CQ,ROW(A23);FALSE);'Input Lap'!$A:$CQ;8;FALSE)

which does not make Excel to spit out "the formula you typed contains error".

This bit looks up $N$2 in 'Input Lap'!$A:$CQ and returns a result from 23th column of 'Input Lap'!$A:$CQ, that is, from column W of Input Lap. This column has B1 as header.

The outer VLOOKUP in

=VLOOKUP(VLOOKUP($N$2;'Input Lap'!$A:$CQ,ROW(A23);FALSE);'Input Lap'!$A:$CQ;8;FALSE)

looks up the result of the inner VLOOKUP in 'Input Lap'!$A:$CQ and returns a result from the 8th column of 'Input Lap'!$A:$CQ, that is, column H of Input Lap. This column has Objek Penilaian as header.

You can #N/A from the inner as well as the outer VLOOKUP.

In D114 you get #N/A when the inner VLOOKUP returns "" as result. This "" is not available in column A of 'Input Lap'!$A:$CQ, therefore the outer VLOOKUP returns #N/A.

Hope this helps.
 
Upvote 0
hi aladin, once again with the same problem :
different 16 rows

in row 167-----i use formula =Row(A23)
in row 183 --- i use formula =Row(A24)
in row 199 --- i use formula =Row(A25)

how make automatically row increase A23,A24,A25
 
Upvote 0
how to adjust range using it :
=VLOOKUP(VLOOKUP($N$2;'Input Lap'!$A:$CQ,ROW(
A23);FALSE);'Input Lap'!$A:$CQ;8;FALSE)

in row 167-----i use formula =Row(A23)
in row 183 --- i use formula =Row(A24)
in row 199 --- i use formula =Row(A25)
 
Upvote 0
sorry i mistake :
how to adjust range using it :
=VLOOKUP(VLOOKUP($N$2;'Input Lap'!$A:$CQ,ROW(
A23);FALSE);'Input Lap'!$A:$CQ;8;FALSE)
in row 167-----...row(A23)
in row 183 --- i want change to be ... (A24)
in row 199 --- i want change to be .... (A25)

 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,238
Messages
6,170,939
Members
452,368
Latest member
jayp2104

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