PC Review


Reply
Thread Tools Rate Thread

Delete Formula Based on Multiple Columns

 
 
Cue
Guest
Posts: n/a
 
      23rd Jun 2008
I'm trying to create a formula to tell me which rows to delete based data in
3 differnt columns. The following is an example with column D as the results.

A B C D
1 6/17/2008 ANN NO DEL
2 6/18/2008 BEE YES DONT DEL
3 6/19/2008 CEE NO DEL
4 6/17/2008 ANN NO DEL
5 6/19/2008 CEE NO DEL
6 6/17/2008 ANN DONT DEL
7 6/18/2008 BEE NO DONT DEL
8 6/18/2008 CEE DONT DEL

This the formula but it not giving the correct results:

=IF(SUMPRODUCT(($A$2:$A$5000<=$F$2)*1,($L$2:$L$5000=$L$2)*1,($J$2:$J$5000<>"")*1)>1,"Del","No Del")

Can someone help me get the correct results in column D please?
--
Cue
 
Reply With Quote
 
 
 
 
Cue
Guest
Posts: n/a
 
      23rd Jun 2008
Thank you!
--
Cue


"MyVeryOwnSelf" wrote:

> > I'm trying to create a formula to tell me which rows to delete based
> > data in 3 differnt columns. The following is an example with column D
> > as the results.
> >
> > A B C D
> > 1 6/17/2008 ANN NO DEL
> > 2 6/18/2008 BEE YES DONT DEL
> > 3 6/19/2008 CEE NO DEL
> > 4 6/17/2008 ANN NO DEL
> > 5 6/19/2008 CEE NO DEL
> > 6 6/17/2008 ANN DONT DEL
> > 7 6/18/2008 BEE NO DONT DEL
> > 8 6/18/2008 CEE DONT DEL
> >
> > This the formula but it not giving the correct results:
> >
> > =IF(SUMPRODUCT(($A$2:$A$5000<=$F$2)*1,($L$2:$L$5000=$L$2)*1,($J$2:$J$50
> > 00<>"")*1)>1,"Del","No Del")

>
> I'm kind of guessing what the "correct results" are supposed to be. Maybe
> what follows would help getting started.
>
> In D1 put something like this
> =IF(AND(A1<=TODAY(),B1="BEE",C1<>""),"Del","No Del")
> Then extend down for as many rows as needed.
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA Delete row based on multiple columns of data jlclyde Microsoft Excel Misc 3 26th Nov 2007 07:46 PM
Delete multiple columns based on certain criteria =?Utf-8?B?R3JldHRh?= Microsoft Excel Programming 1 22nd Mar 2007 05:16 PM
Delete Row Based On Two Columns Kris Microsoft Excel Programming 8 6th Jul 2006 12:44 AM
how can I have a formula result based on multiple criteria/columns =?Utf-8?B?bmlja3lfcA==?= Microsoft Excel New Users 1 5th Jul 2006 01:45 PM
Formula to delete blank cells across multiple columns? =?Utf-8?B?U2FtRnVuTWFpbA==?= Microsoft Excel Worksheet Functions 2 1st Sep 2005 07:05 AM


Features
 

Advertising
 

Newsgroups
 


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