If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > A function for an entire column, help plz

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-07-11, 09:49
Pathology Pathology is offline
Registered User
 
Join Date: May 2004
Posts: 38
A function for an entire column, help plz

Hi,

I have a spreadsheet with 7 catagories (in 7 columns).
I want to make a function so that everytime someone enters a value
in Column "A" row x, the current date is put in Column "G" row x.

So for example in row 2 right now I have for cell G2, fx=IF(A2<>"",TODAY(),"")
I can't keep typing that for A3, A4, A5.... in G3, G4, G5 ...... obviously.

Is there an easy way to do this ?
Thanks.
Reply With Quote
  #2 (permalink)  
Old 01-07-11, 11:18
Colin Legg Colin Legg is offline
Registered User
 
Join Date: Sep 2008
Location: London, UK
Posts: 495
Hi,

That formula won't work because it will continuously update the date once a value has been entered. The only way to do this in Excel is to use some VBA: a worksheet change event handler.

Hope that helps...
__________________
Colin

RAD Excel Blog

Other tutorials:
Array Formulas | Deleting Rows with VBA
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On