Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

any excel whiz kids?

Thread Tools
 
Search this Thread
 
Old 18 October 2013, 12:05 PM
  #1  
Scooby Soon!
Scooby Regular
Thread Starter
 
Scooby Soon!'s Avatar
 
Join Date: Sep 2002
Posts: 2,551
Likes: 0
Received 0 Likes on 0 Posts
Default any excel whiz kids?

I want a formula to take a number from a cell and if it is below a certain value display a value in the cell but if it is above a number display another different value in the cell


eg

If cell F5 has a value/number below 700 display the answer in the current cell as 100 but if F5 has a value/number above 700 display the answer in the current cell as 250
Old 18 October 2013, 12:42 PM
  #2  
DJ Dunk
Moderator
Support Scoobynet!
iTrader: (5)
 
DJ Dunk's Avatar
 
Join Date: Nov 2001
Location: Not all those who wander are lost
Posts: 17,863
Received 0 Likes on 0 Posts
Default

=IF(F5<=700,100,250)

You didn't specify what happens if the value is exactly 700, so in this case if it's 700, the cell still displays 100.

If you want 250 to display when it's 700, then do:


=IF(F5<700,100,250)

Last edited by DJ Dunk; 18 October 2013 at 12:45 PM.
Old 18 October 2013, 01:16 PM
  #3  
urban
Scooby Regular
iTrader: (1)
 
urban's Avatar
 
Join Date: Mar 2002
Location: Never you mind
Posts: 12,566
Received 1 Like on 1 Post
Default

Do conditional formatting instead, especially if you want to present some figures to someone.

i.e. > 600 colour the field green
< 600 Colour it orange
< and 200 colour it red

dead easy to do, and looks better

Last edited by urban; 18 October 2013 at 05:32 PM.
Old 18 October 2013, 05:04 PM
  #4  
CREWJ
Scooby Regular
 
CREWJ's Avatar
 
Join Date: Mar 2008
Location: Aberdare / Daventry
Posts: 5,365
Likes: 0
Received 0 Likes on 0 Posts
Default

I agree with urban.

Although, it does depend on what you want from the data.
Old 18 October 2013, 09:39 PM
  #5  
Scooby Soon!
Scooby Regular
Thread Starter
 
Scooby Soon!'s Avatar
 
Join Date: Sep 2002
Posts: 2,551
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by DJ Dunk
=IF(F5<=700,100,250)

You didn't specify what happens if the value is exactly 700, so in this case if it's 700, the cell still displays 100.

If you want 250 to display when it's 700, then do:


=IF(F5<700,100,250)
I think this will work perfect, thanks I'm off to test....
Old 21 October 2013, 12:03 AM
  #6  
bioforger
Scooby Regular
iTrader: (1)
 
bioforger's Avatar
 
Join Date: Jan 2002
Location: Pig Hill, Wiltsh1te
Posts: 16,995
Received 5 Likes on 5 Posts
Default

Originally Posted by urban
Do conditional formatting instead, especially if you want to present some figures to someone.

i.e. > 600 colour the field green
< 600 Colour it orange
< and 200 colour it red

dead easy to do, and looks better
it's all about the eye candy
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
leg200
Subaru Parts
5
07 October 2015 07:31 AM
has-scooby
Subaru Parts
4
06 October 2015 03:47 PM
bluebullet29
General Technical
9
05 October 2015 02:17 PM



Quick Reply: any excel whiz kids?



All times are GMT +1. The time now is 10:13 PM.