PC Review


Reply
Thread Tools Rate Thread

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

 
 
=?Utf-8?B?RnJ1c3RlcmF0ZWQ=?=
Guest
Posts: n/a
 
      14th Sep 2007
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.
 
Reply With Quote
 
 
 
 
David Biddulph
Guest
Posts: n/a
 
      14th Sep 2007
=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" <(E-Mail Removed)> wrote in message
news:8A92C625-D89B-43BB-808A-(E-Mail Removed)...
> 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.



 
Reply With Quote
 
=?Utf-8?B?RnJ1c3RlcmF0ZWQ=?=
Guest
Posts: n/a
 
      14th Sep 2007
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" <(E-Mail Removed)> wrote in message
> news:8A92C625-D89B-43BB-808A-(E-Mail Removed)...
> > 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.

>
>
>

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      14th Sep 2007
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
 
Reply With Quote
 
T. Valko
Guest
Posts: n/a
 
      14th Sep 2007
Post the *exact* formula that is returning FALSE. Neither one of David's
formulas will return FALSE!

--
Biff
Microsoft Excel MVP


"Frusterated" <(E-Mail Removed)> wrote in message
news:8999669A-5E76-4629-A238-(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
>> news:8A92C625-D89B-43BB-808A-(E-Mail Removed)...
>> > 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.

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?RmFyaGFk?=
Guest
Posts: n/a
 
      14th Sep 2007
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.

 
Reply With Quote
 
Fred Smith
Guest
Posts: n/a
 
      14th Sep 2007
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" <(E-Mail Removed)> wrote in message
news:8999669A-5E76-4629-A238-(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
>> news:8A92C625-D89B-43BB-808A-(E-Mail Removed)...
>> > 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.

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to populate a cell with numeric value based on textselected from pull down in adjacent cell? Garth Rodericks Microsoft Excel Worksheet Functions 1 5th Sep 2008 02:03 AM
Need macro to check if cell is not blank & previous cell is blank, copy information from row above & paste JenIT Microsoft Excel Programming 4 12th Apr 2007 08:56 PM
Populate a cell based on adjacent cell sara.hood@gmail.com Microsoft Excel Discussion 1 13th Sep 2006 09:14 PM
I want a non-blank cell to return 25% in an adjacent cell. =?Utf-8?B?bWxhdGtvdmljaA==?= Microsoft Excel Programming 4 16th Feb 2005 02:09 AM
i want to populate an adjacent cell =?Utf-8?B?TWFyaw==?= Microsoft Excel New Users 1 9th Jun 2004 05:47 PM


Features
 

Advertising
 

Newsgroups
 


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