Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / October 2006

Tip: Looking for answers? Try searching our database.

flipping a spreadsheet

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
remarque - 27 Oct 2006 08:09 GMT
Hey folks,

My company's invoicing program outputs data to an Excel spreadsheet
with the following header row:

Line Item Type, Customer Name, Invoice #, Invoice Date, Amount

and then lists each row as a Line Item.  Thus, each invoice will show
up in as many rows as the number of its line items and there's thus a
lot of duplicate data.

Our accountant would like us to provide her with the spreadsheet where
each invoice only shows up once, by row, with columns to break down the
Line Item Types.  The header row for this spreadsheet would look like
this:

Invoice #, Invoice Date, Client Name, Line Item Type 1, Line Item Type
2, Line Item Type 3, ...

with the sum of each line item type, per invoice, in the corresponding
cell in each row.

Can you provide me with suggestions on how I can set up Excel to flip
the outputted spreadsheet into the desired one for the accountant?

Thanks!!
Carim - 27 Oct 2006 09:38 GMT
Hi,

Something along these lines ...

=SUMIF(A2:A100,"="&D2,E2:E100)

Ranges A2:A100 and E2:E100 are the ones located in Sheet1, whereas the
formula is located in sheet 2 cell D3 ...

HTH
Cheers
Carim
Dave F - 27 Oct 2006 13:55 GMT
You would need to build a macro in VBA to accomplish this.  You may want to
post this question to the programming discussion board.

Dave
Signature

Brevity is the soul of wit.

> Hey folks,
>
[quoted text clipped - 22 lines]
>
> Thanks!!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.