Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default formula for if and v look up for 2 values

What I want is:
In Cell B2 you choose a size ( eg 1/2" ) from the drop down
In Cell C2 you choose a material either 304 or 316.

what I want is from B2 it will generate a vlook up for either 304 or 316
material depending on cell c2.... Not sure how to do this????
--
Donna
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default formula for if and v look up for 2 values

Donna ...

If you are using Filter Switches in Cols B & C ... & you Filter to a "size"
& "Material Type" what are you looking for a "vlookup" to do??? ... Thanks
.... Kha

"Tacklemom" wrote:

What I want is:
In Cell B2 you choose a size ( eg 1/2" ) from the drop down
In Cell C2 you choose a material either 304 or 316.

what I want is from B2 it will generate a vlook up for either 304 or 316
material depending on cell c2.... Not sure how to do this????
--
Donna

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default answer

What it is... I have a worksheet linked for the V look up. But you need to
look up the size first ( A cells) then from there in (b) is the price for 304
material or in ( C) is the price for 316 material... But you need to know the
size ( from cell B2 on the main worksheet ) and the material ( from bell c2
on the main worksheet ) in order to generate which V look up you want to
use...

Thanks !
  #4   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default If & VLookup

Donna ... (Hi)

You can't use a 2 value match for VLookup ... However, you may be able to
use INDEX & MATCH ... Something like:

=INDEX(OtherSheetPriceRange,match(1,(OtherSheetRan ge=B2)*(OtherSheetRange=C2),0))

Above assumes "Size" & "Material" are on one WorkSheet ... You are searching
for "Size" & "Material" on a 2nd WorkSheet & when found return the "Price".

HTH ... Kha




"Tacklemom" wrote:

What it is... I have a worksheet linked for the V look up. But you need to
look up the size first ( A cells) then from there in (b) is the price for 304
material or in ( C) is the price for 316 material... But you need to know the
size ( from cell B2 on the main worksheet ) and the material ( from bell c2
on the main worksheet ) in order to generate which V look up you want to
use...

Thanks !

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
How can I display formula values instead of the formula? Spiky Excel Worksheet Functions 0 September 19th 08 06:01 PM
Show and copy values in formula bar containing a formula Timbo Excel Discussion (Misc queries) 2 April 15th 08 10:42 PM
Build excel formula using field values as text in the formula val kilbane Excel Worksheet Functions 2 April 18th 07 01:52 PM
copy values generated by conditional formula in one sheet to the other work sheet as values ramana Excel Worksheet Functions 1 October 5th 05 01:04 PM
copy values generated by conditional formula in one sheet to the other work sheet as values bobby Excel Discussion (Misc queries) 1 October 5th 05 12:18 PM


All times are GMT +1. The time now is 02:23 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"