Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
mik mik is offline
external usenet poster
 
Posts: 8
Default Find the each number used in row #1 and sum value of each number

Hi,

I have job # used in row 1 and their value in row 2. I want to find the
numbers used in row 1 and then sum value of each job #. Can someone help me
on this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Find the each number used in row #1 and sum value of each number

Hi,

try this

=SUMPRODUCT((A1:M1=A3)*(A2:M2))

Where A3 is the job number you're looking for

Mike

"MIK" wrote:

Hi,

I have job # used in row 1 and their value in row 2. I want to find the
numbers used in row 1 and then sum value of each job #. Can someone help me
on this?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Find the each number used in row #1 and sum value of each number

Try this:

A10 = job #

=SUMIF(1:1,A10,2:2)

--
Biff
Microsoft Excel MVP


"MIK" wrote in message
...
Hi,

I have job # used in row 1 and their value in row 2. I want to find the
numbers used in row 1 and then sum value of each job #. Can someone help
me
on this?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 913
Default Find the each number used in row #1 and sum value of each number

On Sat, 17 Jan 2009 13:32:00 -0800, MIK
wrote:

Hi,

I have job # used in row 1 and their value in row 2. I want to find the
numbers used in row 1 and then sum value of each job #. Can someone help me
on this?



If there are nothing but job # in row 1 and nothing but the
corresponding values in row 2, you may try the following formulas:

In cell A3:
=SMALL(1:1,1)

In cell A4:
=SUMPRODUCT((A3=1:1)*(2:2))

In cell B3:
=IF(SUM($A4:A4)=SUM(2:2),"",SMALL(1:1,2+COUNTA(1: 1)-RANK(A3,1:1)))

In cell B4:
=IF(B3="","",SUMPRODUCT((B3=1:1)*(2:2)))

Copy cells B3 and B4 to the right as far as needed

Hope this helps / Lars-Åke



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
Need Cells.find to find first number in a row which is 8000 Kasper Excel Discussion (Misc queries) 9 December 15th 08 02:10 PM
find the frequency a number appears with another number within a s greenmachine Excel Worksheet Functions 10 September 11th 07 03:19 AM
find a number broken into more than one number shapiro Excel Discussion (Misc queries) 1 October 25th 06 09:11 PM
countif formula to find the occurances of a number that is greater than one number but less than another steveo Excel Discussion (Misc queries) 3 July 8th 06 02:04 AM
How do I find the total number of the same number/letter in a row Anne-Marie Excel Discussion (Misc queries) 9 October 21st 05 10:22 AM


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