Search the web
Sign In
New User? Sign Up
ms_excel · for users of microsoft excel
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Match using multipe colums   Message List  
Reply | Forward Message #33570 of 36022 |
I am trying to match based on criteria in 3 columns. I have been using
the CONCATENATE to match in multiple columns.

Dept Type Category Qty
Lighting Floor Lamp Standard 10
Lighting Desk Lamp LED 12
Electrical Electrical Plugs Contractor 15
Electrical Power Strips 6 pin 20
Power Tools Drill 18v 5

If I wanted to find the qty for LED Desk Lamp I would
index(d2:d6,match("lighting"&"Desk
Lamp"&"LED",CONCATENATE(A2:A6,B2:b6,C2:c6),0),4))

Is there another way besides the CONCATENATE funtion to achieve the
same result like if statements? I do not want to use the indirect or
offset function in the formula.

Seán




Mon Jan 12, 2009 12:14 am

smbyrne69
Offline Offline
Send Email Send Email

Forward
Message #33570 of 36022 |
Expand Messages Author Sort by Date

I am trying to match based on criteria in 3 columns. I have been using the CONCATENATE to match in multiple columns. Dept Type Category...
smbyrne69
Offline Send Email
Jan 12, 2009
12:14 am

You could do something like this instead: =SUMPRODUCT(--(A2:A6="Lighting"),--(B2:B6="Desk Lamp"),--(C2:C6="LED"),D1:D6) Or, if you have EXCEL 2007, you could...
Randy Harmelink
rharmelink
Offline Send Email
Jan 12, 2009
12:34 am

Randy, Thanks.  Does The D1:D6 have to be a number for this formula to work? I was getting the correct result when there was a number there but it was...
Sean Byrne
smbyrne69
Offline Send Email
Jan 12, 2009
2:19 am

Yes. The values being "looked up" would need to be numeric....
Randy Harmelink
rharmelink
Offline Send Email
Jan 12, 2009
2:42 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help