Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 61
Default two condition for vlookup?

I have data where i have to put two condition than it should take next column
data. I have field like...

ThickNess,Class, Area,Weight
4,L,12,321
4.85,M,23.4,136
and so on.
I want to lookup data when i entry both ThickNess & Class than it should
give Area,Weight
I try vlookup but not working. Any Help
Thanks

****al

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 95
Default two condition for vlookup?

You can use sumproduct instead, something like:
Area: =SUMPRODUCT(--(A2:A3=4.85),--(B2:B3="M"),C2:C3)
Weight: =SUMPRODUCT(--(A2:A3=4.85),--(B2:B3="M"),D2:D3)

Change the ranges and the comparisions (use cell references instead) as
appropiate

Hope this helps,
Miguel.

"****al shah" wrote:

I have data where i have to put two condition than it should take next column
data. I have field like...

ThickNess,Class, Area,Weight
4,L,12,321
4.85,M,23.4,136
and so on.
I want to lookup data when i entry both ThickNess & Class than it should
give Area,Weight
I try vlookup but not working. Any Help
Thanks

****al

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 61
Default two condition for vlookup?

thanks for reply so fast Miguel.

I just want to lookup Area & Weight value for refance into other sheet when
i entry ThickNess & Class. I don't want to make any sum or product.
Is this possible.
thanks


"Miguel Zapico" wrote:

You can use sumproduct instead, something like:
Area: =SUMPRODUCT(--(A2:A3=4.85),--(B2:B3="M"),C2:C3)
Weight: =SUMPRODUCT(--(A2:A3=4.85),--(B2:B3="M"),D2:D3)

Change the ranges and the comparisions (use cell references instead) as
appropiate

Hope this helps,
Miguel.

"****al shah" wrote:

I have data where i have to put two condition than it should take next column
data. I have field like...

ThickNess,Class, Area,Weight
4,L,12,321
4.85,M,23.4,136
and so on.
I want to lookup data when i entry both ThickNess & Class than it should
give Area,Weight
I try vlookup but not working. Any Help
Thanks

****al

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
3 logical condition if statement Mikehughes Excel Worksheet Functions 3 July 19th 06 01:59 PM
If more than condition forumula Corey Excel Worksheet Functions 3 June 20th 06 06:58 AM
conditional formatting - multiple condition jenhow Excel Discussion (Misc queries) 5 August 17th 05 02:45 PM
Condition IF Jeff Excel Discussion (Misc queries) 3 February 15th 05 10:19 PM
Add condition to formula Pat Excel Worksheet Functions 0 November 16th 04 12:23 PM


All times are GMT +1. The time now is 02:21 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"