Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 184
Default Conditional Formula Question

I need to set up a formula that allows the following:

79 or less = 0
80=80
81=81
82=82
100=100
101=102
102=104
103=106
104=108
105=110

Can anyone help?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 80
Default Conditional Formula Question

You mean I enter 101 but another cell auto displays 102? Or I enter
101 into a cell but upon hitting enter it displays 102 instead?
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 184
Default Conditional Formula Question

I have a formula that is set in the cell that will result in 101 however If
that happens i need it to say 102

"HKaplan" wrote:

You mean I enter 101 but another cell auto displays 102? Or I enter
101 into a cell but upon hitting enter it displays 102 instead?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 80
Default Conditional Formula Question

A vlookup table would work. And use an if statement to first test for
<80. Like this. Lets say the formula in the cell is:
=sum(101+3), which equals 104, but you want 108:

=IF(SUM(101+3<80),0,VLOOKUP(SUM(101+3),mylookuptab lerange,2,FALSE))

The mylookuptablerange might be a lookup table like this:
A B
80 80
81 81
82 82
100 100
101 102
102 104
103 106
104 108
105 110

Do you follow?


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 80
Default Conditional Formula Question

My lookup example assumed the numbers aren't always that consistant.
My example would permit changing any number to any other number.
Fred's response is much better if your table is that simple.


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Conditional Formula Question

=if(a1<80,0,if(a1100,(a1-100)*2+100,a1))

Regards,
Fred

"Jeremy" wrote in message
...
I need to set up a formula that allows the following:

79 or less = 0
80=80
81=81
82=82
100=100
101=102
102=104
103=106
104=108
105=110

Can anyone help?

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
conditional formula question Ian Excel Worksheet Functions 3 September 3rd 07 09:18 AM
If function question in conditional formula Loving Excel Discussion (Misc queries) 2 June 23rd 07 03:59 AM
Conditional Formula Question iperlovsky Excel Worksheet Functions 1 March 12th 07 03:31 AM
Conditional formatting formula question Simon Excel Discussion (Misc queries) 1 July 10th 06 01:23 PM
Conditional Formula question Renee Excel Discussion (Misc queries) 3 April 13th 06 08:05 PM


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