LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Sorted appearing table (vlookup, if, concontinate)???

some good information he
http://xldynamic.com/source/xld.SUMPRODUCT.html






"Luna" wrote:

I am using excel 2003.
I now have the data devided. though other then for perchase column c always
=1.
I am thinking it needs to be a combo of SumIF and Vlookup. as i am
unfermiallar with SumProduct.
i suppose i am hoping there is a tutorial out there in the world that shows
how that would be used.

"JMB" wrote:

Let's say level is in A1:A8, item description is in B1:B8, and amount is in
C1:C8. Also, assuming that for purchased items, the level number in column A
is either empty or 0.

The level attained is in F1, item description you want totaled is in G1,
try this formula in H1:

=SUMPRODUCT(--($A$1:$A$8<=F1),--($B$1:$B$8=G1),$C$1:$C$8)

Adjust ranges to suit, but prior to XL2007, sumproduct cannot use an entire
column (eg A:A).

It's not clear from your data if the item description and amount are in
separate columns (looks like they may be concatenated together in the same
cell). I would split these - I think it would make it easier to work w/the
data.



 
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
Why can't this table be sorted? james Excel Discussion (Misc queries) 3 February 20th 10 04:41 PM
VLOOKUP always required the searching field SORTED? Johan2000 Excel Programming 1 November 9th 06 12:55 PM
Why must the table for Vlookup be sorted in ascending order? Epinn New Users to Excel 3 August 12th 06 08:04 AM
Using VLOOKUP without a sorted list dzuy Excel Programming 2 July 25th 06 04:28 PM
vlookup for a value appearing more than once RITA Excel Worksheet Functions 1 February 10th 05 07:08 PM


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