PC Review


Reply
Thread Tools Rate Thread

How to check if a cell is blank and, if so, apply a formula

 
 
Arnold
Guest
Posts: n/a
 
      26th Dec 2006
Hi Programmers,

I'm trying build an Excel app. that is user friendly. In a column (C),
a user may enter a nickname. If there is no nickname, then the value
that was in the first name field (B) is auto copied to the nickname
field (such as =B2).

If a user enters a nickname, then deletes the nickname, how can the
underlying formula (=B2) be reapplyed to the cell automatically? Also,
I'm concerned about if the user manually enters a nickname in the last
record, then adds another row manually or with a macro that copies
formulas and formatting to the new row--any formula overwritten would
not be included.

Just curious; thanks,

Arnold

 
Reply With Quote
 
 
 
 
Arnold
Guest
Posts: n/a
 
      27th Dec 2006
Hi Dave,

This is a seemingly simple issue, but not? If a user enters a nickname
in C2 (deleting the underlying formula =B2), then deletes the nickname,
the formula =B2 needs to be re-applied to C2. Adding an additional
scratch column won't help because the C2 cell will still not have the
formula. Is there a way to store a relative formula, and then apply it
if a cell is blank or null?

Thanks again,

Arnold

 
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... apply the same formula to every cell? klee Microsoft Excel Misc 3 3rd Feb 2009 06:24 PM
Count last non blank column and apply to formula Dukesford Microsoft Excel Programming 1 30th Jul 2007 08:36 PM
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
formatting won't apply to my cell with a formula =?Utf-8?B?QWRyaWVubmU=?= Microsoft Excel Worksheet Functions 9 27th Nov 2005 05:44 PM
Apply a formula at (address) to a cell tcebob Microsoft Excel Discussion 4 12th Nov 2005 07:24 PM


Features
 

Advertising
 

Newsgroups
 


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