ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Difficult Formula (https://www.excelbanter.com/excel-worksheet-functions/76358-difficult-formula.html)

Cindy

Difficult Formula
 
A3 is a drop down list of words (Restaurants, Mini-Warehouse, etc)
B2 is a numeric entry ($500,000, $1,000,000, etc)

I need B3 to create the following into a formula

If A3 is Mini-Warehouse and B2 is $500,000 then B3 is $.22 BUT I need the
formula to be able to detect which word I use.



Richard Buttrey

Difficult Formula
 
On Thu, 9 Mar 2006 13:39:30 -0800, Cindy
wrote:

A3 is a drop down list of words (Restaurants, Mini-Warehouse, etc)
B2 is a numeric entry ($500,000, $1,000,000, etc)

I need B3 to create the following into a formula

If A3 is Mini-Warehouse and B2 is $500,000 then B3 is $.22 BUT I need the
formula to be able to detect which word I use.


=If(and(A3="Mini-Warehouse",B2=500000),.22,"Not Mini-Warehouse and
$500000")

You didn't say what the default is, so just change the last bit as
appropriate.

HTH
Richard Buttrey
__

Sandy Mann

Difficult Formula
 
You don't say what the tie-up is between the word in A3 and the amount in
B2. To select a value based on the word in A3 try something like:

=CHOOSE(MATCH(A3,{"Restaurant","Mini-Warehouse","Etc"},0),100,22,200)

--
HTH

Sandy

with @tiscali.co.uk


"Cindy" wrote in message
...
A3 is a drop down list of words (Restaurants, Mini-Warehouse, etc)
B2 is a numeric entry ($500,000, $1,000,000, etc)

I need B3 to create the following into a formula

If A3 is Mini-Warehouse and B2 is $500,000 then B3 is $.22 BUT I need the
formula to be able to detect which word I use.






All times are GMT +1. The time now is 06:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com