Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a table with the months in row 6. Revenue is in row 9 and costs are
in rows 10 through 38. Cell c6 is 1 for January and cell c9 is January revenue. My formula to lookup the current month (stored in cell o3) is =HLOOKUP$O$3,$C$6:$M$38,4,FALSE) This works fine and returns the value in k9. But I would also like a to get the year to date revenue by adding everything from c9 to k9. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This might suffice: =SUMIF(C6:M6,"<="&O3,C9:M9)
Success? hit the YES below -- Max Singapore http://savefile.com/projects/236895 Downloads:27,000 Files:200 Subscribers:70 xdemechanik --- "SixBowls" wrote: I have a table with the months in row 6. Revenue is in row 9 and costs are in rows 10 through 38. Cell c6 is 1 for January and cell c9 is January revenue. My formula to lookup the current month (stored in cell o3) is =HLOOKUP$O$3,$C$6:$M$38,4,FALSE) This works fine and returns the value in k9. But I would also like a to get the year to date revenue by adding everything from c9 to k9. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Perfect! Thanks for the quick and effective reply.
"Max" wrote: This might suffice: =SUMIF(C6:M6,"<="&O3,C9:M9) Success? hit the YES below -- Max Singapore http://savefile.com/projects/236895 Downloads:27,000 Files:200 Subscribers:70 xdemechanik --- "SixBowls" wrote: I have a table with the months in row 6. Revenue is in row 9 and costs are in rows 10 through 38. Cell c6 is 1 for January and cell c9 is January revenue. My formula to lookup the current month (stored in cell o3) is =HLOOKUP$O$3,$C$6:$M$38,4,FALSE) This works fine and returns the value in k9. But I would also like a to get the year to date revenue by adding everything from c9 to k9. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Welcome, good to hear
-- Max Singapore http://savefile.com/projects/236895 Downloads:27,000 Files:200 Subscribers:70 xdemechanik --- "SixBowls" wrote in message ... Perfect! Thanks for the quick and effective reply. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IS THERE ANY FORMULA IN EXCEL THAT CAN DO THIS? HLOOKUP MAYBE? | Excel Discussion (Misc queries) | |||
Formula help on HLookup / VLookup ?? | Excel Worksheet Functions | |||
vlookup and hlookup in the same formula | Excel Discussion (Misc queries) | |||
array formula with if and hlookup | Excel Worksheet Functions | |||
formula using both vlookup & hlookup | Excel Worksheet Functions |