#1   Report Post  
Posted to microsoft.public.excel.misc
alice
 
Posts: n/a
Default IF formula's

Hi

I have been using IF formulas in my spreadsheets a lot, but it's always with
specific data in a cell.

Is it possible to have an IF formula that will enter a number in A1 if ANY
info is put into A2?

Thanks
Alice
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jon Quixley
 
Posts: n/a
Default IF formula's


Hi Alice,

I think that it can be done, but you say ANY info - does this mean
numbers, text anything or something in particular? You can set an IF
statement in A1 to trigger if _anything_ is entered into A2 or you can
do the same thing if something specific is entered into A2:

In A1 enter the following

=if(a2="","","120")

Make sure that the quotes do not have any spaces between them
This will trigger the number 120 to appear in A1 as soon as ANYTHING is
entered into A2. You can experiment around with this to get it to do
what you are after

Regards
Jon Q


--
Jon Quixley
------------------------------------------------------------------------
Jon Quixley's Profile: http://www.excelforum.com/member.php...o&userid=25803
View this thread: http://www.excelforum.com/showthread...hreadid=503347

  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave O
 
Posts: n/a
Default IF formula's

How about
IF(A2<"",Your number,0)

The English translation is "if A2 is not blank, enter my number; if it
is blank, enter zero."

  #4   Report Post  
Posted to microsoft.public.excel.misc
Sloth
 
Posts: n/a
Default IF formula's

You could use a formula like this in A1

=IF(ISBLANK(A2),"",some number)

replace "some number" with the number you want. As long as A2 is blank, A1
will be also. It won't actually be blank in excel terms, but it will look
like it.

"alice" wrote:

Hi

I have been using IF formulas in my spreadsheets a lot, but it's always with
specific data in a cell.

Is it possible to have an IF formula that will enter a number in A1 if ANY
info is put into A2?

Thanks
Alice

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
Countif formulas change after doing a sort Bob Smith Excel Worksheet Functions 3 January 3rd 06 11:17 PM
Array Formulas take waaaay too long... belly0fdesire Excel Worksheet Functions 7 August 8th 05 10:11 PM
Problem with named formula's nathan Excel Worksheet Functions 0 January 21st 05 04:07 PM
Way to make Excel only run certain formulas on a worksheet? jrusso Excel Discussion (Misc queries) 0 January 12th 05 04:23 PM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM


All times are GMT +1. The time now is 01:27 AM.

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"