![]() |
|
#2
|
||||
|
||||
|
You can colour a cell to meet your condition with conditional formatting, then use a sum formula to calculate the sum to that point.
eg. Assuming your table is in A1:AF13 and you enter a date in, say, cell A17. Then you would select cell A1 and go to Home|Condional Formatting|New Rule. Select "use a formula...." and enter formula: =ADDRESS(ROW(),COLUMN())=ADDRESS(MATCH(TEXT($A$17, "mmm"),$A$1:$A$13,0),MATCH(DAY($A$17),$A$1:$AF$1,0 )) Click "Format" and choose from the "Fill" tab. Keep clicking "OK" until finished. You should see a cell coloured corresponding to date in A17. Now to sum use formula: =SUM(OFFSET($A$1,MATCH(TEXT(A17,"mmm"),$A$1:$A$13, 0)-1,1,1,MATCH(DAY(A17),$A$1:$AF$1,0)-2)) |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Within a table format, a single cell can't automatically flow to the next page? | laurieli | Word | 3 | 12-09-2015 07:09 PM |
| Pasting text from Excel cell into word without creating a table, and keeping the in-cell formatting | hanvyj | Excel Programming | 0 | 08-28-2015 01:15 AM |
Move table cell contents from one table to another table or cell in same table
|
donaldadams1951 | Word VBA | 4 | 02-04-2015 03:54 PM |
Format Painter doesn't work on Table Format?
|
Joey Cheung | Word Tables | 1 | 08-20-2014 02:24 AM |
| Auto-populate an MS Word table cell with text from a diff cell? | dreamrthts | Word Tables | 0 | 03-20-2009 01:49 PM |