Hello,
I am using a Google Spreadsheet to calculate total number of gift certificates sold by year AND (ideally) by gift certificate type (2 types: full or partial). An example spreadsheet with fake data is here: https://docs.google.com/spreadsheets/d/1R_fTPMrQ8TOASynK6dR1Ma65yNRu5gsIsBB49-10lXE/edit?usp=sharing
I've successfully used the SUMIFS formula to pull # of gift certificates based on a date range.
Columns for the necessary data are:
B = Gift Certificate Type (Full or Partial)
C= Total Gift Certificates sold
F = Calendar Date ranges for 2013, 2014, and 2015
I = Date gift certificate sold
So far, I've been able to sum total # of gift certificates sold in a given year (2013 formula below):
=SUMIFS($C$18:$C,$I$18:$I,">="&$F$3,$I$18:$I,"<="&$F$4)
However, I'd need to break down# of gift certificates sold in a given year by gift certificate type.
For example, we sold 200 gift certificates in 2013 and the breakdown of that is 150 Partial and 50 Full.
In previous spreadsheets with only one year, i.e. no date range requirements, I've done this with:
=sumif(($B$18:$B),"*Full",(C18:C))
however adding that to the date range formula does not seem to work.
Is there any way to sum using two requirements: within a date range + by specific text?
Please let me know of any other information needed.
Thanks!
I am using a Google Spreadsheet to calculate total number of gift certificates sold by year AND (ideally) by gift certificate type (2 types: full or partial). An example spreadsheet with fake data is here: https://docs.google.com/spreadsheets/d/1R_fTPMrQ8TOASynK6dR1Ma65yNRu5gsIsBB49-10lXE/edit?usp=sharing
I've successfully used the SUMIFS formula to pull # of gift certificates based on a date range.
Columns for the necessary data are:
B = Gift Certificate Type (Full or Partial)
C= Total Gift Certificates sold
F = Calendar Date ranges for 2013, 2014, and 2015
I = Date gift certificate sold
So far, I've been able to sum total # of gift certificates sold in a given year (2013 formula below):
=SUMIFS($C$18:$C,$I$18:$I,">="&$F$3,$I$18:$I,"<="&$F$4)
However, I'd need to break down# of gift certificates sold in a given year by gift certificate type.
For example, we sold 200 gift certificates in 2013 and the breakdown of that is 150 Partial and 50 Full.
In previous spreadsheets with only one year, i.e. no date range requirements, I've done this with:
=sumif(($B$18:$B),"*Full",(C18:C))
however adding that to the date range formula does not seem to work.
Is there any way to sum using two requirements: within a date range + by specific text?
Please let me know of any other information needed.
Thanks!