Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default conditional formatting

I want to be able to search for two things in a column. The first is a value
of less than or greater than $100. (OK so that is really two things I guess).
The second is to be able to see if that amount is within the previous 365
days. There is another column for the date. I can get part to work but am
having trouble with the date. Any ideas would be greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default conditional formatting

Try {IF(A1<9,A1,"")}, in a separate column of use the conditional formatting
to change the color or highlight the field if it doesn't equal $100.

"Russell" wrote:

I want to be able to search for two things in a column. The first is a value
of less than or greater than $100. (OK so that is really two things I guess).
The second is to be able to see if that amount is within the previous 365
days. There is another column for the date. I can get part to work but am
having trouble with the date. Any ideas would be greatly appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default conditional formatting

Not sure what you mean by "within the previous 365 days".

if you're referring to 365 days prior to the current date

=(B2<100)*(A2TODAY()-365)

or if you mean 365 days prior to the value's adjacent date (with sorted
dates)

=(B2<100)*SUMPRODUCT(($A$2:$A1$A2-365)*($B$2:$B1=B2))

or (if dates are not sorted)

=(B2<100)*SUMPRODUCT(($A$2:$A$1000$A2-365)*($B$2:$B$1000=B2))


HTH
Steve D.

"Russell" wrote in message
...
I want to be able to search for two things in a column. The first is a
value
of less than or greater than $100. (OK so that is really two things I
guess).
The second is to be able to see if that amount is within the previous 365
days. There is another column for the date. I can get part to work but am
having trouble with the date. Any ideas would be greatly appreciated.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default conditional formatting

Thanks Steve. I am going to give it a shot. The more I read the more I think
that I am asking too much of Excel. At least the 2003 version that I am using.

Have a good day.

Russell

"Steve Dunn" wrote:

Not sure what you mean by "within the previous 365 days".

if you're referring to 365 days prior to the current date

=(B2<100)*(A2TODAY()-365)

or if you mean 365 days prior to the value's adjacent date (with sorted
dates)

=(B2<100)*SUMPRODUCT(($A$2:$A1$A2-365)*($B$2:$B1=B2))

or (if dates are not sorted)

=(B2<100)*SUMPRODUCT(($A$2:$A$1000$A2-365)*($B$2:$B$1000=B2))


HTH
Steve D.

"Russell" wrote in message
...
I want to be able to search for two things in a column. The first is a
value
of less than or greater than $100. (OK so that is really two things I
guess).
The second is to be able to see if that amount is within the previous 365
days. There is another column for the date. I can get part to work but am
having trouble with the date. Any ideas would be greatly appreciated.


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
Formatting Conditional Formatting Icon Sets The Rook[_2_] Excel Discussion (Misc queries) 3 March 7th 09 08:48 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


All times are GMT +1. The time now is 04:54 AM.

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

About Us

"It's about Microsoft Excel"