Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Sumproduct or ????

I need to calculate 'unreconciled amount' in my check register by
looking at column B (deposit or withdrawal), column E (check amount),
column F (bank balance) and column G (reconciled). Column G will
contain either "R" for reconciled or it will be null. All
Uncreconciled (no "R") transactions must be examined to see if they
are deposits or withdrawals (column B), subtracting withdrawals from
deposits.

Can anyone help with a formula?

I currently have a helper column that is used to total the
unreconciled amounts.
(=IF($G278<"R",IF($B278="Withdrawal",$E278*-1,IF($B278="Deposit",$E278,"")),""))


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ken Ken is offline
external usenet poster
 
Posts: 207
Default Sumproduct or ????

Jack

I don't think you gave enough information to give an exact formula,
but, you did give enough to confirm that SUMPRODUCT is the right way
to go. I would try something like

=SUMPRODUCT(--(G2:G11<"R"),E2:E11*(IF(B2:B11="Withdrawal",-1,1)))

SUMPRODUCT doesn't usually have to be entered as an array function
(shift-control-enter) but this time it does because of the IF
statement array component that is used to make the withdrawals
negative. My sample data had numbers in rows 2 to 11 and it works the
way I believe it is supposed to. You could avoid the array entering
if you had a helper column to make the withdrawals negative and used
that column instead of column E where I have presumed all numbers are
positive; with cash outflows identifed by the label in column B.

Good luck.

Ken
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
Sumproduct with Condition OR Sumproduct with ADDRESS function - HE gholly Excel Discussion (Misc queries) 2 September 28th 09 05:07 PM
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
sumproduct? anand Excel Worksheet Functions 2 December 11th 05 09:12 AM
Sumproduct Jeremy Ellison Excel Worksheet Functions 1 December 9th 05 09:45 PM


All times are GMT +1. The time now is 06:40 PM.

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"