Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default sumif error

Hi Guys,
I have two sheets in an excel 2003 file. Sheet 1 has purchase order# and
relevant amounts. There can be more than 1 line record for same PO# on sheet
1. Just as an example would look like below:

Col A Col B
PO# Amount
2305675 50
2305675 50
2305897 23
2564111 4
56
2305675 200
2564111 450

Sheet 2 has invoice numbers in Col A and PO# in Col B and say amount in Col
C somewhat looks like as below:
ColA ColB Col C Col D
Inv# PO# Amount Rev Recog
456 2305675 50 300
456 2564111 56 454
466 2305675 235 300
888 2564111 456 454
2275 2305897 545 23

In Col D above when I use =SUMIF(Sheet2!A:A,Sheet1!B9,Sheet2!B:B) where
criteria is PO# from sheet 2 Col B, it adds up value of each PO if I have
more than 1 occurance of same PO# (for e.g., 2305675 has 300 against it on
sheet 2 while it only has 300 once in sheet 1. Is it possible to kill this
problem by one formula. Please accept thanks in advance for your help.

Tipoo
 
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
SUMIF using #N/A error as criteria Dave F[_2_] Excel Discussion (Misc queries) 4 April 22nd 23 09:04 PM
#VALUE! error when using UNC path name in SUMIF Bruce Excel Discussion (Misc queries) 5 October 14th 08 08:22 PM
SUMIF Value error Margie Excel Worksheet Functions 12 July 16th 07 08:02 PM
Error with SUMIF but not SUM(IF) scott Excel Worksheet Functions 3 September 26th 06 08:00 PM
If and nested Sumif error Joco Excel Worksheet Functions 4 July 22nd 06 07:25 PM


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