Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
All:
I am stumped on this. I have combed through the archives and cannot find the answer I need to return the minimum price for an item (where the price is not zero) Item Price Vendor Apple $1 Wal-Mart Apple $2 Target Apple Sears I need the formula to return $1. =IF(MIN(VLOOKUP("Apple",B2:B4,FALSE))) is definitely not working. Thanks, Doug |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this array formula** :
=MIN(IF((A2:A4="apple")*(B2:B4<""),B2:B4)) ** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT key then hit ENTER. -- Biff Microsoft Excel MVP "Huber57" wrote in message ... All: I am stumped on this. I have combed through the archives and cannot find the answer I need to return the minimum price for an item (where the price is not zero) Item Price Vendor Apple $1 Wal-Mart Apple $2 Target Apple Sears I need the formula to return $1. =IF(MIN(VLOOKUP("Apple",B2:B4,FALSE))) is definitely not working. Thanks, Doug |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I would use the DMIN function.
your 'data base' would be the following (assuming column 3 not relevant) in cells F11: g14 item count apple 0 apple 1 apple 2 your 'criteria' would be in I11:J12: count item 0 apple your function is =DMIN(F11:G14,"count",I11:J12), which returns the number 1. "Huber57" wrote: All: I am stumped on this. I have combed through the archives and cannot find the answer I need to return the minimum price for an item (where the price is not zero) Item Price Vendor Apple $1 Wal-Mart Apple $2 Target Apple Sears I need the formula to return $1. =IF(MIN(VLOOKUP("Apple",B2:B4,FALSE))) is definitely not working. Thanks, Doug |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
try =IF(MIN(B1:B3)<0,VLOOKUP("Apple",A1:C3,3,FALSE)) change range to fit your needs "Huber57" wrote: All: I am stumped on this. I have combed through the archives and cannot find the answer I need to return the minimum price for an item (where the price is not zero) Item Price Vendor Apple $1 Wal-Mart Apple $2 Target Apple Sears I need the formula to return $1. =IF(MIN(VLOOKUP("Apple",B2:B4,FALSE))) is definitely not working. Thanks, Doug |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
T.,
That is perfect. Thanks much! Doug "T. Valko" wrote: Try this array formula** : =MIN(IF((A2:A4="apple")*(B2:B4<""),B2:B4)) ** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT key then hit ENTER. -- Biff Microsoft Excel MVP "Huber57" wrote in message ... All: I am stumped on this. I have combed through the archives and cannot find the answer I need to return the minimum price for an item (where the price is not zero) Item Price Vendor Apple $1 Wal-Mart Apple $2 Target Apple Sears I need the formula to return $1. =IF(MIN(VLOOKUP("Apple",B2:B4,FALSE))) is definitely not working. Thanks, Doug |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You're welcome. Thanks for the feedback!
-- Biff Microsoft Excel MVP "Huber57" wrote in message ... T., That is perfect. Thanks much! Doug "T. Valko" wrote: Try this array formula** : =MIN(IF((A2:A4="apple")*(B2:B4<""),B2:B4)) ** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT key then hit ENTER. -- Biff Microsoft Excel MVP "Huber57" wrote in message ... All: I am stumped on this. I have combed through the archives and cannot find the answer I need to return the minimum price for an item (where the price is not zero) Item Price Vendor Apple $1 Wal-Mart Apple $2 Target Apple Sears I need the formula to return $1. =IF(MIN(VLOOKUP("Apple",B2:B4,FALSE))) is definitely not working. Thanks, Doug |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Vlookup to Find one value but exclude another | Excel Discussion (Misc queries) | |||
I can't find vlookup values! | Excel Worksheet Functions | |||
Use Vlookup to find less than today | Excel Worksheet Functions | |||
Vlookup & Find | Excel Worksheet Functions | |||
How do i use vlookup to find more than 1 entry | Excel Worksheet Functions |