Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default =NameCheck - Monday???

How do you write a formula for this:

=NameCheck - Monday

Im looking for the correct syntax for writing a formula that deletes or
omits names from a list? For example I have a list with the names of all my
employees called NameCheck and another list called Monday. I want the names
in the Monday list to NOT show up on my data validation source that currently
is =NameCheck.
Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default =NameCheck - Monday???

You'd have to create a new list and use that as the source for your drop
down.

One way...

Let's assume NameCheck is in column A and Monday is in column B.

Let's create the new list starting in cell D2. So, enter this array
formula** in D2 and copy down until you get #NUM! errors:

=INDEX(NameCheck,SMALL(IF(ISNA(MATCH(NameCheck,Mon day,0)),ROW(NameCheck)),ROWS(D$2:D2))-MIN(ROW(NameCheck))+1)

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.

Then, as the source for the drop down use:

=$D$2:INDEX($D$2:$D$100,COUNTIF($D$2:$D$100,"*"))

Adjust for a reasonable end of range D100

Or, give that formula a defined name like NewList and use =NewList as the
source.

--
Biff
Microsoft Excel MVP


"Lost Cluster" wrote in message
...
How do you write a formula for this:

=NameCheck - Monday

I'm looking for the correct syntax for writing a formula that deletes or
omits names from a list? For example I have a list with the names of all
my
employees called NameCheck and another list called Monday. I want the
names
in the Monday list to NOT show up on my data validation source that
currently
is =NameCheck.
Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default =NameCheck - Monday???

Thank you, it works!!!

"T. Valko" wrote:

You'd have to create a new list and use that as the source for your drop
down.

One way...

Let's assume NameCheck is in column A and Monday is in column B.

Let's create the new list starting in cell D2. So, enter this array
formula** in D2 and copy down until you get #NUM! errors:

=INDEX(NameCheck,SMALL(IF(ISNA(MATCH(NameCheck,Mon day,0)),ROW(NameCheck)),ROWS(D$2:D2))-MIN(ROW(NameCheck))+1)

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.

Then, as the source for the drop down use:

=$D$2:INDEX($D$2:$D$100,COUNTIF($D$2:$D$100,"*"))

Adjust for a reasonable end of range D100

Or, give that formula a defined name like NewList and use =NewList as the
source.

--
Biff
Microsoft Excel MVP


"Lost Cluster" wrote in message
...
How do you write a formula for this:

=NameCheck - Monday

I'm looking for the correct syntax for writing a formula that deletes or
omits names from a list? For example I have a list with the names of all
my
employees called NameCheck and another list called Monday. I want the
names
in the Monday list to NOT show up on my data validation source that
currently
is =NameCheck.
Thanks



.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default =NameCheck - Monday???

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Lost Cluster" wrote in message
...
Thank you, it works!!!

"T. Valko" wrote:

You'd have to create a new list and use that as the source for your drop
down.

One way...

Let's assume NameCheck is in column A and Monday is in column B.

Let's create the new list starting in cell D2. So, enter this array
formula** in D2 and copy down until you get #NUM! errors:

=INDEX(NameCheck,SMALL(IF(ISNA(MATCH(NameCheck,Mon day,0)),ROW(NameCheck)),ROWS(D$2:D2))-MIN(ROW(NameCheck))+1)

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the
SHIFT
key then hit ENTER.

Then, as the source for the drop down use:

=$D$2:INDEX($D$2:$D$100,COUNTIF($D$2:$D$100,"*"))

Adjust for a reasonable end of range D100

Or, give that formula a defined name like NewList and use =NewList as the
source.

--
Biff
Microsoft Excel MVP


"Lost Cluster" wrote in message
...
How do you write a formula for this:

=NameCheck - Monday

I'm looking for the correct syntax for writing a formula that deletes
or
omits names from a list? For example I have a list with the names of
all
my
employees called NameCheck and another list called Monday. I want the
names
in the Monday list to NOT show up on my data validation source that
currently
is =NameCheck.
Thanks



.



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
Calculate every Monday Wanna Learn Excel Discussion (Misc queries) 7 April 3rd 23 06:45 PM
First Monday Charlie O'Neill Excel Discussion (Misc queries) 8 April 15th 10 06:09 PM
Monday Following robzrob Excel Worksheet Functions 8 September 1st 08 11:47 PM
Date calculation for Monday of one month to the Monday of the next Sunnyskies Excel Discussion (Misc queries) 19 July 2nd 07 12:08 PM
Find First Monday in May Sandy Excel Worksheet Functions 2 March 9th 06 07:18 PM


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