Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Array formula to find date
To trigger conditional formating.
I tried being brief, but I couldn't figure out how and still be articulate. Each month we publish a catalog of our products and I have 138 customers that receive catalogs. But, not every customer gets every catalog. I only send the catalogs to customers that have products relative to their needs. I am not the only one who is responsible for ensurig timely mailing from now on and I am looking for a way to help new associates determine which catalogs go to which customers. I am looking for an array formula that will, in the end, trigger a conditional formula to highlight the specific customers and their addresses IF they are to receive that catalog. My spread sheet looks like this: rows 2-139: column A= customer # column B= customer contact column C= customer address columns E-K= the seven types of catalogs we publish each year color coded (6 categories (1, 3, 4, 6, 7 & 8) and 1 monthly new product(ng)) Rows 2-139 under the catalog columns (E-K) I have inserted either a 1, 2, or 0 for the number of that particular catalog they are to receive. Rows 145-157 (columns E-K) feature cells color coded for these catalogs I have the sheet set up so cells 145E - 157K are to have the date of publishing of the corrresponding catalog entered. What I need is a formula that will allow me to enter the date (either current or future) of one or more catalogs and have the addresses of the customers who are to receive that catalog turn black with white font up to 5 days in advanced. Example: e f g h i j k acct 1 1 1 0 2 1 0 2 acct2 0 0 0 1 1 1 1 row 145 4/9/10 4/9/10 row 146 5/10/10 5/10/10 on 4/9/2010 I need to send out two different catalogs. Because account 1 receives both and account 2 receives one I need both of their addresses to change color. On 5/10/10 I need to send out two other catalogs. Because account 1 receives neither and account 2 receives one I need only accout 2's address to change color. What I tried is an array formula in additional hiden rows that will enter either an "X" into a cell if that row's account receives that catalog and then conditional formated the address from there. I am having issues with my array formula and no matter what I do I can not seem to get an "X" as a result even though the correct date to trigger it is in the correct spot. The array I am entering is =IF($E$145:$E$157<=TODAY()+5,"X","") (I enter this in O2), in P2 I enter =IF($F$145:$F$157<=TODAY()+5,"X","") and so on to column "U". I do remember to "CTRL, Shift & Enter" rather than just entering. I then format the address cell of each account to change IF there row has an "X" in it. Went catalogs were sent out I enter "sent" into the cell with the date and it should turn the "X" in the upper rows and columns off, I believe. Any help is greatly appreciated. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Find specific value in array of array formula | Excel Worksheet Functions | |||
Array Lookup to Find Closest Date and Next Closest Date | Excel Worksheet Functions | |||
Array to find rows need to insert date criteria | Excel Discussion (Misc queries) | |||
Formula using array to find embedded value | Excel Discussion (Misc queries) | |||
Array Formula to find Average Return | Excel Discussion (Misc queries) |