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?

Old Oct 18, 2013 | 12:05 PM
  #1  
Scooby Soon!'s Avatar
Scooby Soon!
Thread Starter
Scooby Regular
 
Joined: Sep 2002
Posts: 2,551
Likes: 0
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
Reply
Old Oct 18, 2013 | 12:42 PM
  #2  
DJ Dunk's Avatar
DJ Dunk
Moderator
20 Year Member
iTrader: (5)
 
Joined: Nov 2001
Posts: 17,864
Likes: 0
From: Not all those who wander are lost
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; Oct 18, 2013 at 12:45 PM.
Reply
Old Oct 18, 2013 | 01:16 PM
  #3  
urban's Avatar
urban
Scooby Regular
iTrader: (1)
 
Joined: Mar 2002
Posts: 12,566
Likes: 1
From: Never you mind
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; Oct 18, 2013 at 05:32 PM.
Reply
Old Oct 18, 2013 | 05:04 PM
  #4  
CREWJ's Avatar
CREWJ
Scooby Regular
 
Joined: Mar 2008
Posts: 5,365
Likes: 1
From: Aberdare / Daventry
Default

I agree with urban.

Although, it does depend on what you want from the data.
Reply
Old Oct 18, 2013 | 09:39 PM
  #5  
Scooby Soon!'s Avatar
Scooby Soon!
Thread Starter
Scooby Regular
 
Joined: Sep 2002
Posts: 2,551
Likes: 0
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....
Reply
Old Oct 21, 2013 | 12:03 AM
  #6  
bioforger's Avatar
bioforger
Scooby Regular
iTrader: (1)
 
Joined: Jan 2002
Posts: 16,995
Likes: 5
From: Pig Hill, Wiltsh1te
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
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
Dec 28, 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
Nov 18, 2015 07:03 AM
leg200
Subaru Parts
5
Oct 7, 2015 07:31 AM
has-scooby
Subaru Parts
4
Oct 6, 2015 03:47 PM
bluebullet29
General Technical
9
Oct 5, 2015 02:17 PM


Thread Tools
Search this Thread

All times are GMT +1. The time now is 05:03 AM.