LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Limit data entry to one of four cells in a row

I have a budget spreadsheet that has columns for monthly, quarterly,
semi-annual and annual payments. I use the data from those columns to
populate a fifth column, labeled "Monthly Budget" which does the math
(quarterly*4/12, for example) based on which of the four columns is
populated. My issue is, how can I make sure that only one column is
populated on a given row? I don't want someone to enter a value in both the
monthly and quarterly columns on the same row for example. Once one of the
four columns is populated, I want to alert the user that they can't populate
another column before removing the value from the other column if they try
to do additional data entry in the row, by mistake.

I would expect a user to enter a value in the monthly column for a mortgage
payment, and in the quarterly column for a garbage bill and in the
semi-annual or annual column for an insurance bill. Right now, I'm looking
for a non-blank value in any of the four cells in the row to populate the
fifth cell using nested this IF statement:
=IF(ISBLANK(B5),IF(ISBLANK(C5),IF(ISBLANK(D5),IF(I SBLANK(E5),0,E5/12),D5/6),C5/3),B5)

What can be used to prevent more than one of the four columns in the same
row form being populated?


 
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
Limit data entry in range of cells JStiehl Excel Worksheet Functions 2 June 25th 09 12:08 PM
Limit data entry to 1/4" increments [email protected] Excel Discussion (Misc queries) 1 May 28th 09 05:03 AM
How can you limit the data entry range in Excel? Joe Excel Worksheet Functions 2 December 26th 07 07:23 PM
excel limit data entry range, control cursor movement to 2 cols Bob Excel Programming 4 September 23rd 05 05:14 PM
limit text entry in a range of cells QTPRM Excel Discussion (Misc queries) 2 May 25th 05 03:52 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"