Formula to Match Values

M

Maperalia

I wonder if you can help me to setup this formula.
I have values located in the excel cell as shown below:

A B C D E F G
1 bag 24 24 24 72 63 top
2 tube 24 24 21 69
3 cord 24 24 18 66
4 top 24 21 18 63
5 center 24 21 15 60
6 paper 24 21 12 57


Basically, what I am doing is:
1.- Taking the sum for each row (B+C+D).
2.- Compare and match values on the column "E" with the number located in
the cell “ F1â€.
3.- Write in the cell “G1†description (located in the column "A") of the
row found.

In my sample the selected row is number 5 which is cell â€F1=63†and cell “H1
= topâ€.
Do you thing you can help me to get a formula to automate this procedure?

Thanks in advance.
Maperalia
 
P

PCLIVE

Here's one way:

=INDIRECT("A"&MATCH(F1,E1:E6,0))

However, what if there is not a match of F1 in E1:E6?

HTH,
Paul
 
M

Maperalia

Paul;
I used you formula and it working only when I place the data starting from
A1. If the data starts at A2 the formula snap the information.

Thanks very much.
Maperalia
 
M

Maperalia

Biff;
Thanks for the formula. I plotted it and it is working PERFECTLY!!!!!.
However, I noticed that when it does not find the match number the formula
shows me "#N/A" ".
Could you please tell me how to add to the formula to tell me "NO MATCH WAS
FOUND".?

Kind regards.
Maperalia
 
P

PCLIVE

One way,

=IF(ISERROR(MATCH(F1,E1:E6,0)),"",INDEX(A1:A6,MATCH(F1,E1:E6,0)))

Regards,
Paul


--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top