Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Please assume that my data will look like this:
Month Amount January 10,000 February 14,000 March 6,000 April 8,000 May 30,000 June 0 July -10,000 August 100,000 September 25 October 9,200 November 7,000 December 5,500 Month Total In the cell next to "Month" a user will enter a value between 1 and 12. Let's say that the user enters the number 4. In the cell next to "Total" I want a formula that will add the months of January through April and return a value of 38,000. I can not get a SUMIF Formula to do this. If tyhe user were to enter a value of 9 then the Total should be 158,025. I have tried to use the SUMIF funtion with the criteria portion of that formula referencing the content of the cell next to Month but it doesn't work. Any ideas on wgat I am doing wrong? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Assume your data in A1:B13 with header in row 1
criteria in D2 In D4: =SUM(B2:INDEX(B2:B13,D2)) "Mike" wrote: Please assume that my data will look like this: Month Amount January 10,000 February 14,000 March 6,000 April 8,000 May 30,000 June 0 July -10,000 August 100,000 September 25 October 9,200 November 7,000 December 5,500 Month Total In the cell next to "Month" a user will enter a value between 1 and 12. Let's say that the user enters the number 4. In the cell next to "Total" I want a formula that will add the months of January through April and return a value of 38,000. I can not get a SUMIF Formula to do this. If tyhe user were to enter a value of 9 then the Total should be 158,025. I have tried to use the SUMIF funtion with the criteria portion of that formula referencing the content of the cell next to Month but it doesn't work. Any ideas on wgat I am doing wrong? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" | Excel Worksheet Functions | |||
Embedding a Sumif in a sumif | Excel Worksheet Functions | |||
SUMIF?? | Excel Worksheet Functions | |||
nested sumif or sumif with two criteria | Excel Worksheet Functions | |||
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function | Excel Worksheet Functions |