Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default How to check if a cell is blank and, if so, apply a formula

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default How to check if a cell is blank and, if so, apply a formula

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
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
Conditional formatting - check for blank cell Eric_NY Excel Discussion (Misc queries) 3 August 18th 09 05:08 PM
How to... apply the same formula to every cell? klee Excel Discussion (Misc queries) 3 February 3rd 09 06:24 PM
How to check for blank cells with formula Bob Flanagan[_2_] Excel Discussion (Misc queries) 3 January 7th 09 04:12 AM
check to see if a cell is blank if not populate adjacent cell wit. Frusterated Excel Discussion (Misc queries) 6 September 14th 07 10:55 PM
How can I check a cell for current date and insert it if blank? Don K New Users to Excel 3 September 29th 06 02:46 PM


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

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"