Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Brian in FT W.
 
Posts: n/a
Default Match/Lookup Statements

I would like to create an equation that returns mult. results based on one
cell.

If "C1" = 4.0 - 3.5, =4.0
If "C1" = 3.49 - 2.5 = 3.0
If "C1" = 2.49 - 1.10 = 2.0
If "C1" = 1.09 - 0 = 0.0

I believe that I need a Lookup of Match Statment, but I'm not sure how to
write one. Thanks for the help!
  #2   Report Post  
N Harkawat
 
Posts: n/a
Default


=VLOOKUP(C1,{0,0;1.1,2;2.5,3;3.5,4},2)*(AND(C1=0, C1<=4))
the *AND part of the formula will ensure that the values are within 0 and 4

"Brian in FT W." wrote in message
...
I would like to create an equation that returns mult. results based on one
cell.

If "C1" = 4.0 - 3.5, =4.0
If "C1" = 3.49 - 2.5 = 3.0
If "C1" = 2.49 - 1.10 = 2.0
If "C1" = 1.09 - 0 = 0.0

I believe that I need a Lookup of Match Statment, but I'm not sure how to
write one. Thanks for the help!



  #3   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

=(C11.09)*(ROUND(C1,0)+(C1<1.5))
formatted as number with 1 decimal

--
Arvi Laanemets
( My real mail address: arvil<attarkon.ee )


"Brian in FT W." wrote in message
...
I would like to create an equation that returns mult. results based on one
cell.

If "C1" = 4.0 - 3.5, =4.0
If "C1" = 3.49 - 2.5 = 3.0
If "C1" = 2.49 - 1.10 = 2.0
If "C1" = 1.09 - 0 = 0.0

I believe that I need a Lookup of Match Statment, but I'm not sure how to
write one. Thanks for the help!



  #4   Report Post  
Brian in FT W.
 
Posts: n/a
Default

Thanks everyone, that worked!

"Arvi Laanemets" wrote:

Hi

=(C11.09)*(ROUND(C1,0)+(C1<1.5))
formatted as number with 1 decimal

--
Arvi Laanemets
( My real mail address: arvil<attarkon.ee )


"Brian in FT W." wrote in message
...
I would like to create an equation that returns mult. results based on one
cell.

If "C1" = 4.0 - 3.5, =4.0
If "C1" = 3.49 - 2.5 = 3.0
If "C1" = 2.49 - 1.10 = 2.0
If "C1" = 1.09 - 0 = 0.0

I believe that I need a Lookup of Match Statment, but I'm not sure how to
write one. Thanks for the help!




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
Nested IF statements John Simons Excel Worksheet Functions 14 February 16th 05 06:17 AM
4 different if statements, not working Brian Excel Worksheet Functions 5 December 12th 04 08:17 PM
Macro to find and delete all FALSE statements Woody13 Excel Discussion (Misc queries) 3 December 8th 04 11:16 PM
Unresolved Errors in IF Statements - Errors do not show in results Markthepain Excel Worksheet Functions 2 December 3rd 04 08:49 AM
If statements Mark Excel Worksheet Functions 3 November 2nd 04 08:39 PM


All times are GMT +1. The time now is 05:46 PM.

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

About Us

"It's about Microsoft Excel"