Filling a 3rd row, by comparing 2 other rows

larschr

New Member
Joined
Nov 15, 2005
Messages
7
I have 2 rows with numbers. First row is longer than the second, (several identical numbers)

To the right of the second number row i have a descrition (text) of that number. The numbers in the 2 rows need to get the same description

I need to compare the 2 number rows, and fill in the coresponding text from number row 2 to a new row next to number row 1.


numbers ------ (text need to be inserted) ------ numbers2-----(text that need to be inserted)
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

larschr

New Member
Joined
Nov 15, 2005
Messages
7
Ups, sorry, im using excell 2000 here, and i seem to get an error
Is the formula suppose to be the same in my version (excel 2000)?
Verry sorry i didnt put this info in my first post :(

Stopps at A2,D
 

al_b_cnu

Well-known Member
Joined
Jul 18, 2003
Messages
4,526

ADVERTISEMENT

Hi,

The posted example should work ok with Excel 2000, Can you post an example of your s/sheet layout?
 

larschr

New Member
Joined
Nov 15, 2005
Messages
7
The layout is exactly like your example :/

However, my excel is in Norwegian. So i have to use another word than vlookup and false. (finn.rad / finn.kolonne and usann)

But the logic is suppose to be the same ...
 

al_b_cnu

Well-known Member
Joined
Jul 18, 2003
Messages
4,526

ADVERTISEMENT

Over to the International section then :confused:

I understand that some Excel versions use semicolon ; rather than comma ,

might be worth a try
 

larschr

New Member
Joined
Nov 15, 2005
Messages
7
hmm, i found a description of it;

=VLOOKUP(search value;matrix;row index;sorted)

Make any sence ?

Seems the matrix is the problem ..
 

al_b_cnu

Well-known Member
Joined
Jul 18, 2003
Messages
4,526
larschr said:
hmm, i found a description of it;

=VLOOKUP(search value;matrix;row index;sorted)

Make any sence ?

Seems the matrix is the problem ..

'row index' suggests that you are using HLOOKUP not VLOOKUP :confused:
 

larschr

New Member
Joined
Nov 15, 2005
Messages
7
Sorry, collum index that is.

using =VLOOKUP(A2;D:E;2;FALSE) now gets accepted :D (swaping ; for , worked)

But the output of the formula is #I/T
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,621
Messages
5,832,736
Members
430,160
Latest member
a_majda

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
Top