Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,069
Default Test for 1 occurances meet same criteria. Display address in MsgB

In Sheet1 I want to test col. W for more than one occurances of the same text
value and at the same time both/all matches a constant text value in col. P
on the same row. The criteria/text in col P is: "Started". The values in col.
W are picked through validation from a named range called "Cell_No-Prod". The
text is: "Cell1", "Cell2",...."Area1", "Area2",.....etc.

I want to display a MsgBox with the text: "You have entered [text value from
W] [n] times. Max allowed is one. Please correct. The repeated entry are in
row [row numbers]."

The user shall be able to close the MsgBox, correct the wrong entry, before
a new warning goes off. 3 minutes would be enough.

I know how to make user forms, but I'm stuck on the code/test for repeating
values.
--
Thanks
John
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
EXCEL - Meet 2 criteria, then find next case of third criteria Elaine Excel Worksheet Functions 3 December 1st 08 10:43 PM
count the dates for each criteria and list total occurances for ea upnadam Excel Worksheet Functions 1 October 16th 08 01:41 AM
Sumproduct - I think - Counting occurances that fall into criteria ckemtp Excel Discussion (Misc queries) 1 August 4th 08 10:45 PM
COUNT occurances if criteria is met John Excel Worksheet Functions 4 April 26th 08 01:08 AM
count occurances in a row using multiple criteria clarknv Excel Worksheet Functions 3 May 19th 07 07:16 PM


All times are GMT +1. The time now is 02:50 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"