Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JcR
 
Posts: n/a
Default If...then "0", if greater than, then enter actual

If value in cell a1 = 1 through 149, display "0" in a2
If vallue in cell a1 = 150 or greater, display actual value of a1, in cell a2

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default If...then "0", if greater than, then enter actual

=IF(AND(A1=1,A1<150),0,IF(A1=150,A1,""))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"JcR" wrote in message
...
If value in cell a1 = 1 through 149, display "0" in a2
If vallue in cell a1 = 150 or greater, display actual value of a1, in cell

a2



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JcR
 
Posts: n/a
Default If...then "0", if greater than, then enter actual

Bob,

This is what i'm really trying to get to:
If a1 = 0-149, then a2 = 0
If a1 = 150-200, then a2 = 200
If a1 = 200 or greater, then a2 = a1

Thanks

"Bob Phillips" wrote:

=IF(AND(A1=1,A1<150),0,IF(A1=150,A1,""))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"JcR" wrote in message
...
If value in cell a1 = 1 through 149, display "0" in a2
If vallue in cell a1 = 150 or greater, display actual value of a1, in cell

a2




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default If...then "0", if greater than, then enter actual


Perhaps

=IF(A1200,A1,IF(A1150,200,0))


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=521564

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR
 
Posts: n/a
Default If...then "0", if greater than, then enter actual

What results would you like if A1 is blank?, or if A1 contains a negative
number?, or if A1 contains any number "between" 149 and 150?, or if A1
cantains TEXT?

If you don't consider those conditions in the formula, Excel will
automatically do it for you and you may not like the results.

Vaya con Dios,
Chuck, CABGx3


"JcR" wrote in message
...
Bob,

This is what i'm really trying to get to:
If a1 = 0-149, then a2 = 0
If a1 = 150-200, then a2 = 200
If a1 = 200 or greater, then a2 = a1

Thanks

"Bob Phillips" wrote:

=IF(AND(A1=1,A1<150),0,IF(A1=150,A1,""))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"JcR" wrote in message
...
If value in cell a1 = 1 through 149, display "0" in a2
If vallue in cell a1 = 150 or greater, display actual value of a1, in

cell
a2








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JcR
 
Posts: n/a
Default If...then "0", if greater than, then enter actual

thanks

"daddylonglegs" wrote:


Perhaps

=IF(A1200,A1,IF(A1150,200,0))


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=521564


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
replace 'alt + enter' key by single 'enter' Gerson Setting up and Configuration of Excel 3 February 6th 06 04:00 AM
if greater then 99 then 1 if greater then 199 then two N.R. Excel Worksheet Functions 2 June 23rd 05 07:14 PM
Is there way to enter multiple values into excel cells w/ a form? grassfed Excel Discussion (Misc queries) 1 June 22nd 05 06:26 PM
YTD Budget Sum if Actual Month has activities AGnes Excel Worksheet Functions 1 March 24th 05 10:25 PM
Help with SUMIF, INDEX, LOOKUP Please !! Robert Excel Worksheet Functions 13 March 13th 05 01:17 AM


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