LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 595
Default checking data

Alex wrote:
I have two columns:
H J
Date Quarter

The both columns have a validation: Date is checking that entries
should be in the date format; Quarter is linked to a list of quarters
and checking that the entry is from that list.

However, I'd like to have some checking between these columns as well
for the dates matching with quarters. E.g., if Date is 1/1/2005 in H2
the user should choose only Q1 from the list in J2.


Alex:

Don't let them choose if there's only one choice. Put a formula in J to
calculate the quarter:

="Q"&CHOOSE(MONTH(H1),1,1,1,2,2,2,3,3,3,4,4,4)


--
Dick Kusleika
Excel MVP
Daily Dose of Excel
www.dicks-blog.com


 
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
Spell Checking with checking cell notes jfitzpat Excel Discussion (Misc queries) 0 August 8th 07 10:26 PM
Checking Data in 2 spreadsheets Paul Sheppard Excel Discussion (Misc queries) 0 May 31st 06 08:22 AM
Checking for data duplications Nikki Excel Discussion (Misc queries) 1 March 2nd 06 04:07 PM
Please HELP: Checking data guy Excel Worksheet Functions 3 December 5th 05 02:51 AM
Checking for duplicate data Jeremy Excel Programming 2 April 28th 04 06:06 PM


All times are GMT +1. The time now is 05:45 AM.

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"