use the sum product formula:

the derived formula is
=SUMPRODUCT(($D$2:$D$6)*($A$2:$A$6=$A13)*($C$2:$C$6=C$12)).

Pls check the attached excel sheet that I have prepared, for your help.

On Thu, Apr 23, 2009 at 1:37 AM, gabo <gabo22...@yahoo.com> wrote:

>
> I have a spreadsheet where I need to combine some rows into columns.
> Listed below is an example of the spreadsheet.
>
>  Cust Id      Name       Item         Qty
>
>  1              Joe              table       1
>  1              Joe             Chair        2
>  2              Sam           table        1
>  3              Steve         lamp         1
>  3              Steve         table         1
>
> Is there a way to make the above spreadsheet look like the one below
> where it can be used with a Word merge?
>
> Cust Id      Name        Table     Chair      Lamp
>
>  1               Joe               1          2
>  2               Sam             1
>  3               Steve            1                       1
>
>
>
>
> >
>


-- 

Thanks and regards,
Satti Charvak
____________________

--~--~---------~--~----~------------~-------~--~----~
-------------------------------------------------------------------------------------
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com
-------------------------------------------------------------------------------------
-~----------~----~----~----~------~----~------~--~---

Attachment: gabo.xls
Description: MS-Excel spreadsheet

Reply via email to