ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   check to see if a cell is blank if not populate adjacent cell wit. (https://www.excelbanter.com/excel-discussion-misc-queries/158360-check-see-if-cell-blank-if-not-populate-adjacent-cell-wit.html)

Frusterated

check to see if a cell is blank if not populate adjacent cell wit.
 
Hello need help with a formuala. In a spreadsheet I want to check and see
iif a cell contains text, if so, I want to populate an adjacent cell with the
current date. If the cell is blank I dont want to do anything... Thanks.

David Biddulph[_2_]

check to see if a cell is blank if not populate adjacent cell wit.
 
=IF(ISTEXT(A1),TODAY(),"")

You haven't said what you want to do if the cell contains a number (which is
not text and not blank).
If you want the current date for any entry (text or number), then try
=IF(A1<"",TODAY(),"")
--
David Biddulph

"Frusterated" wrote in message
...
Hello need help with a formuala. In a spreadsheet I want to check and
see
iif a cell contains text, if so, I want to populate an adjacent cell with
the
current date. If the cell is blank I dont want to do anything...
Thanks.




Frusterated

check to see if a cell is blank if not populate adjacent cell
 
David,

Thanks for the advice. Unfortunately the formula only returned the word
"FALSE", which is incorrect as there is some text in the cell. Text or no
text the result is always the word "False".

To answer your first question, I dont care if its text or numbers, as long
as its populated I would like to populate the adjacent cell with todays date.

"David Biddulph" wrote:

=IF(ISTEXT(A1),TODAY(),"")

You haven't said what you want to do if the cell contains a number (which is
not text and not blank).
If you want the current date for any entry (text or number), then try
=IF(A1<"",TODAY(),"")
--
David Biddulph

"Frusterated" wrote in message
...
Hello need help with a formuala. In a spreadsheet I want to check and
see
iif a cell contains text, if so, I want to populate an adjacent cell with
the
current date. If the cell is blank I dont want to do anything...
Thanks.





Dave Peterson

check to see if a cell is blank if not populate adjacent cell wit.
 
Maybe:

=if(a1="","",today())

Be aware that this formula will change when you open the workbook on a different
date (and the workbook recalcs).

If you want to keep track of when the data changed, maybe using J.E. McGimpsey's
worksheet event macro:
http://www.mcgimpsey.com/excel/timestamp.html

Frusterated wrote:

Hello need help with a formuala. In a spreadsheet I want to check and see
iif a cell contains text, if so, I want to populate an adjacent cell with the
current date. If the cell is blank I dont want to do anything... Thanks.


--

Dave Peterson

T. Valko

check to see if a cell is blank if not populate adjacent cell
 
Post the *exact* formula that is returning FALSE. Neither one of David's
formulas will return FALSE!

--
Biff
Microsoft Excel MVP


"Frusterated" wrote in message
...
David,

Thanks for the advice. Unfortunately the formula only returned the word
"FALSE", which is incorrect as there is some text in the cell. Text or
no
text the result is always the word "False".

To answer your first question, I dont care if its text or numbers, as long
as its populated I would like to populate the adjacent cell with todays
date.

"David Biddulph" wrote:

=IF(ISTEXT(A1),TODAY(),"")

You haven't said what you want to do if the cell contains a number (which
is
not text and not blank).
If you want the current date for any entry (text or number), then try
=IF(A1<"",TODAY(),"")
--
David Biddulph

"Frusterated" wrote in message
...
Hello need help with a formuala. In a spreadsheet I want to check
and
see
iif a cell contains text, if so, I want to populate an adjacent cell
with
the
current date. If the cell is blank I dont want to do anything...
Thanks.







Farhad

check to see if a cell is blank if not populate adjacent cell wit.
 
Hi,

May be this works for you:

=IF(ISBLANK(A1),"",TODAY())

Thanks,
--
Farhad Hodjat


"Frusterated" wrote:

Hello need help with a formuala. In a spreadsheet I want to check and see
iif a cell contains text, if so, I want to populate an adjacent cell with the
current date. If the cell is blank I dont want to do anything... Thanks.


Fred Smith

check to see if a cell is blank if not populate adjacent cell
 
You didn't enter the formula correctly. For you to get a result of "false", you
put a closing bracket in the wrong place. Compare what you entered to David's
formula, and correct any errors.

--
Regards,
Fred


"Frusterated" wrote in message
...
David,

Thanks for the advice. Unfortunately the formula only returned the word
"FALSE", which is incorrect as there is some text in the cell. Text or no
text the result is always the word "False".

To answer your first question, I dont care if its text or numbers, as long
as its populated I would like to populate the adjacent cell with todays date.

"David Biddulph" wrote:

=IF(ISTEXT(A1),TODAY(),"")

You haven't said what you want to do if the cell contains a number (which is
not text and not blank).
If you want the current date for any entry (text or number), then try
=IF(A1<"",TODAY(),"")
--
David Biddulph

"Frusterated" wrote in message
...
Hello need help with a formuala. In a spreadsheet I want to check and
see
iif a cell contains text, if so, I want to populate an adjacent cell with
the
current date. If the cell is blank I dont want to do anything...
Thanks.








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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com