Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default IF (formula is true) put a "1" in another cell

How do you put a value in another cell if the formula you are using is true.

=if(A1=3000,"(put a 1 in B1)",otherwise false)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 284
Default IF (formula is true) put a "1" in another cell

Sandta

Place formula in B1

=if(A1=3000,1 ,"")

Mike Rogers

"Sandta" wrote:

How do you put a value in another cell if the formula you are using is true.

=if(A1=3000,"(put a 1 in B1)",otherwise false)

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default IF (formula is true) put a "1" in another cell

This will return 1 if true and 0 if false:

=--(A1=3000)

To make it more robust you might want to ensure that A1 actually conatins
number (a TEXT entry will evaluate to be =3000):

=COUNT(A1)*(A1=3000)

--
Biff
Microsoft Excel MVP


"Sandta" wrote in message
...
How do you put a value in another cell if the formula you are using is
true.

=if(A1=3000,"(put a 1 in B1)",otherwise false)



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
a formula to "go to" another cell if a condition is true? Rope Excel Discussion (Misc queries) 2 January 4th 08 07:16 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
Typing "true" excel 2007 change it to "TRUE" Mr. T Excel Discussion (Misc queries) 2 April 11th 07 01:24 PM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
Can you replace "TRUE" with " " in an exact formula? Sweetetc Excel Worksheet Functions 2 February 10th 06 02:11 PM


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