Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Denise
 
Posts: n/a
Default Need a simple formula please

Column E is a notation of payment method.
Column F is any debit of funds for a patient's account
Column G is any credit of funds for a patient's account

Three types of payment V, Ck, Ch

Elsewhere in the sheet I wish to total the funds (all patient's, all rows)
taken in, by payment method.

=IF (E9=C, G9, 0)
=IF (E10=Ck, G10, 0)
=IF (E11=Ch, G11, 0)

If this is correct, it will only work row by row. How do I get the whole
column at once?

Thanks!

Denise
  #2   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

=SUMIF($E$2:$E$100,"Ck",$F$2:$F$100)

totals debit amounts for the Ck payment method.

"Denise" wrote in message
...
Column E is a notation of payment method.
Column F is any debit of funds for a patient's account
Column G is any credit of funds for a patient's account

Three types of payment V, Ck, Ch

Elsewhere in the sheet I wish to total the funds (all patient's, all rows)
taken in, by payment method.

=IF (E9=C, G9, 0)
=IF (E10=Ck, G10, 0)
=IF (E11=Ch, G11, 0)

If this is correct, it will only work row by row. How do I get the whole
column at once?

Thanks!

Denise



  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

=SUMIF(E2:E500,"C",G2:G500)


Regards,

Peo Sjoblom

"Denise" wrote:

Column E is a notation of payment method.
Column F is any debit of funds for a patient's account
Column G is any credit of funds for a patient's account

Three types of payment V, Ck, Ch

Elsewhere in the sheet I wish to total the funds (all patient's, all rows)
taken in, by payment method.

=IF (E9=C, G9, 0)
=IF (E10=Ck, G10, 0)
=IF (E11=Ch, G11, 0)

If this is correct, it will only work row by row. How do I get the whole
column at once?

Thanks!

Denise

  #4   Report Post  
Tim C
 
Posts: n/a
Default

One way:

=SUMPRODUCT((E1:E100="V")*(G1:G100-F1:F100))

Tim C

"Denise" wrote in message
...
Column E is a notation of payment method.
Column F is any debit of funds for a patient's account
Column G is any credit of funds for a patient's account

Three types of payment V, Ck, Ch

Elsewhere in the sheet I wish to total the funds (all patient's, all rows)
taken in, by payment method.

=IF (E9=C, G9, 0)
=IF (E10=Ck, G10, 0)
=IF (E11=Ch, G11, 0)

If this is correct, it will only work row by row. How do I get the whole
column at once?

Thanks!

Denise



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
Simple formula doesn't quite add up circeo Excel Discussion (Misc queries) 3 January 17th 05 09:04 PM
Need simple multiply formula [email protected] Excel Worksheet Functions 1 December 8th 04 03:07 AM
simple formula help tjtjjtjt Excel Worksheet Functions 1 December 1st 04 05:53 AM
Please Reply! I Need A Simple Formula Johnny3 Excel Worksheet Functions 3 November 23rd 04 03:15 PM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


All times are GMT +1. The time now is 12:35 AM.

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

About Us

"It's about Microsoft Excel"