LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 60
Default sum/division calculation involving vlookup with array?

Thanks, it works!

"Bernie Deitrick" <deitbe @ consumer dot org wrote in message
...
Mark,

=SUMPRODUCT(($A$1:$A$1000=CellWithThe555)*CellWith The44/$C$1:$C$1000)

HTH,
Bernie
MS Excel MVP


"markx" wrote in message
...
Hi guys,



I have the following table (more or less 1000 rows):



Code1 Code2 Number1

510 632 48

. . .

555 222 24

555 186 60

555 345 18

555 841 32

555 111 120

555 428 96

. . .

575 334 6

. . .



Then, I run the reports that can give me the f. ex. following input:



Code1 Number2

555 44



Now starts the 'tricky' part. What I would like is to enter these values
somewhere in excel and get:



Code1 Number2 Calculation

555 44 xxx



Where 'xxx' corresponds to:

=44/24+44/60+44/18+44/32+44/120+44/96



'Number2' is divided (one by one) by all the 'Number1' for the 'Code1'
(555 in our example), and then summed up.



Do you have any idea how to achieve this?

Thanks a lot in advance, it would be of big help to me.



Regards,

Mark






 
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
Use of Array Pivot Table for Percentile Calculation ... Elize Excel Worksheet Functions 0 September 6th 06 02:36 PM
Minimum Distance Calculation using Array and Geographical Coordinates geobatman Excel Discussion (Misc queries) 1 June 9th 06 10:49 PM
Array Calculation Error Tobro88 Excel Worksheet Functions 12 December 5th 05 03:50 PM
Vlookup Calculation Issue cvolkert Excel Worksheet Functions 0 September 7th 05 02:28 AM
Counting an Array based on a calculation HokieLawrence Excel Discussion (Misc queries) 10 February 16th 05 02:39 AM


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