Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
"dacm19" wrote:
... I need the D27 to change to D28 etc. as I copy horizontally... But that is exactly how the suggested replacement will work in your formula !?? Try this simple experiment to convince yourself Put the numbers 1,2,3,4 into D27:D30 Now put in any cell other than D27:D30, say in E3: =INDIRECT("D"&COLUMNS($A$1:A1)+26) E3 will return what's in D27, i.e.: 1 Now copy E3 across to H3, you'll see that E3:H3 returns what's in D27:D30 which is what you want Give the earlier suggested formula (below) another try: =IF(AND(AND(YEAR($A7)=YEAR($B$1),MONTH($A7)=MONTH( $B$1)),$B$7=INDIRECT("D"&C OLUMNS($A$1:A1)+26)),$C7,0) -- Rgds Max xl 97 --- GMT+8, 1° 22' N 103° 45' E xdemechanik <atyahoo<dotcom ---- |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
quattro converter for Excel 2003 | Excel Discussion (Misc queries) | |||
Excel 2003 Opens Up Every File in My Documents | Excel Discussion (Misc queries) | |||
sharing/using/saving Excel 2002 files in Excel 2003 | Excel Discussion (Misc queries) | |||
Excel 2003 back to Excel 2002 | Excel Discussion (Misc queries) | |||
Excel 2000 file when opened in Excel 2003 generates errors? | Excel Discussion (Misc queries) |