LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Sumproduct with nested if statement

Hi

I have been attempting to resolve this issue for a while, having looked both
here and at MediaKent.co.uk
My issue is that i have a worksheet containing financial data in the
following format
Column A = Nominal ledger Code (format nnnn)
Column B = Department Code (format n)
Column C = Transaction Date (format nnnnn)
Column D = Transaction Value (format NNNNN.NN)

I have tried several SumProduct statements, and have overcome the date issue
by creating a seperate spreadsheet with the months converted to a general
format as the sumproduct didnt seem to like the column being set with a mmyy
format.

I need to pull values for particular nominal ledger codes, department
numbers, falling within a date range into a seperate sheet.

I am using the following formula
=SUMPRODUCT((Sheet1!D1:D16201)*(Sheet1!A1:A16201=" 4000")*(Sheet1!B1:B16201=1)*(Sheet1!E1:E16201=She et2!B1)*(Sheet1!E1:E16201<=Sheet2!B2))*-1

Where 4000 = nominal code, 1 = department number, and sheet 2 b1 and b2 hold
the upper and lower numerical values for the date range.

Once i have fathomed this bit out i will need to add additional criteria as
some of the cells will hold the values of multiple nominal codes, and to
ensure that future data that is pulled via ODBC from a sage accounting system
i will need to include currently empty cells in the calculations.

Any help greatly appreciated and will also prevent me from going premeturely
bald!!!
 
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
Nested IF Statement Help Donnie Excel Discussion (Misc queries) 4 September 10th 08 09:04 PM
IF statement with nested SUMPRODUCT? Bazael Excel Discussion (Misc queries) 3 June 25th 08 09:52 PM
IF OR NESTED STATEMENT SuperBee Excel Discussion (Misc queries) 10 March 1st 08 05:31 AM
Nested IF/AND Statement buffgirl71 Excel Discussion (Misc queries) 1 October 10th 06 01:59 AM
Nested if then else statement tzip123 Excel Worksheet Functions 8 February 24th 06 05:38 PM


All times are GMT +1. The time now is 08:19 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"