Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Running total for 2 columns IF column 3.......


Can anyone help, I am trying to keep a running total of impressions based on
daily entries throughout the month:
If column G = "letter" than column C (sets) * column E (pages)
If column G = "tabloid" than column C (sets) * column E (pages)*2

Thank you in advance,
paulab
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default Running total for 2 columns IF column 3.......

=IF(G1="letter",C1*E1,IF(G1="tabloid",C1*E1*2))


On 9 Lis, 14:26, paulab wrote:
Can anyone help, I am trying to keep a running total of impressions based on
daily entries throughout the month:
If column G = "letter" than *column C (sets) * column E (pages)
If column G = "tabloid" than *column C (sets) * column E (pages)*2

Thank you in advance,
paulab


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Running total for 2 columns IF column 3.......

Try the below

=SUMPRODUCT((G1:G10="letter")*C1:C10*E1:E10)

=SUMPRODUCT((G1:G10="tabloid")*C1:C10*E1:E10*2)

If this post helps click Yes
---------------
Jacob Skaria


"paulab" wrote:


Can anyone help, I am trying to keep a running total of impressions based on
daily entries throughout the month:
If column G = "letter" than column C (sets) * column E (pages)
If column G = "tabloid" than column C (sets) * column E (pages)*2

Thank you in advance,
paulab

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Running total for 2 columns IF column 3.......

What happens if G does not equal either of those choices? In this formula, it
causes the result to be 0.

=C2*E2*IF(G2="letter",1,IF(G2="tabloid",2,0)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"paulab" wrote:


Can anyone help, I am trying to keep a running total of impressions based on
daily entries throughout the month:
If column G = "letter" than column C (sets) * column E (pages)
If column G = "tabloid" than column C (sets) * column E (pages)*2

Thank you in advance,
paulab

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default Running total for 2 columns IF column 3.......

Hi,
try

=IF(SUMPRODUCT((A1:A4="letter")*(B1:B4*E1:E4))0,S UMPRODUCT((A1:A4="letter")*(B1:B4*E1:E4)),IF(SUMPR ODUCT((A1:A4="tabloid")*(B1:B4*E1:E4*2))0,SUMPROD UCT((A1:A4="tabloid")*(B1:B4*E1:E4*2))))

"paulab" wrote:


Can anyone help, I am trying to keep a running total of impressions based on
daily entries throughout the month:
If column G = "letter" than column C (sets) * column E (pages)
If column G = "tabloid" than column C (sets) * column E (pages)*2

Thank you in advance,
paulab



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default Running total for 2 columns IF column 3.......

hI,
This formula will work better specially if you have both words in the column

=SUMPRODUCT((A1:A5="tabloid")*(B1:B5*E1:E5*2))+SUM PRODUCT((A1:A5="letter")*(B1:B5*E1:E5))

"Eduardo" wrote:

Hi,
try

=IF(SUMPRODUCT((A1:A4="letter")*(B1:B4*E1:E4))0,S UMPRODUCT((A1:A4="letter")*(B1:B4*E1:E4)),IF(SUMPR ODUCT((A1:A4="tabloid")*(B1:B4*E1:E4*2))0,SUMPROD UCT((A1:A4="tabloid")*(B1:B4*E1:E4*2))))

"paulab" wrote:


Can anyone help, I am trying to keep a running total of impressions based on
daily entries throughout the month:
If column G = "letter" than column C (sets) * column E (pages)
If column G = "tabloid" than column C (sets) * column E (pages)*2

Thank you in advance,
paulab

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Running total for 2 columns IF column 3.......

Perfect!!
Thank you

"Eduardo" wrote:

hI,
This formula will work better specially if you have both words in the column

=SUMPRODUCT((A1:A5="tabloid")*(B1:B5*E1:E5*2))+SUM PRODUCT((A1:A5="letter")*(B1:B5*E1:E5))

"Eduardo" wrote:

Hi,
try

=IF(SUMPRODUCT((A1:A4="letter")*(B1:B4*E1:E4))0,S UMPRODUCT((A1:A4="letter")*(B1:B4*E1:E4)),IF(SUMPR ODUCT((A1:A4="tabloid")*(B1:B4*E1:E4*2))0,SUMPROD UCT((A1:A4="tabloid")*(B1:B4*E1:E4*2))))

"paulab" wrote:


Can anyone help, I am trying to keep a running total of impressions based on
daily entries throughout the month:
If column G = "letter" than column C (sets) * column E (pages)
If column G = "tabloid" than column C (sets) * column E (pages)*2

Thank you in advance,
paulab

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Running total for 2 columns IF column 3.......

=SUMPRODUCT((G1:G100={"letter","tabloid"})*(C1:C10 0*E1:E100)*{1,2})


"paulab" wrote:


Can anyone help, I am trying to keep a running total of impressions based on
daily entries throughout the month:
If column G = "letter" than column C (sets) * column E (pages)
If column G = "tabloid" than column C (sets) * column E (pages)*2

Thank you in advance,
paulab

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any way of calculating a running total within a single cell in a column Janev New Users to Excel 2 September 13th 06 01:22 PM
Running total at bottom of column? Jazz Drummer Excel Discussion (Misc queries) 3 October 14th 05 12:45 PM
Running total w/2 columns - Excel Anna / Ideal Excel Worksheet Functions 14 August 10th 05 04:28 PM
Running total in Excel w/2 columns Anna / Ideal Excel Worksheet Functions 5 August 6th 05 02:25 AM
How do I Autosum a running column total in excel? JR5280 Excel Worksheet Functions 2 February 19th 05 01:59 AM


All times are GMT +1. The time now is 10:35 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"