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 / New Users / January 2006

Tip: Looking for answers? Try searching our database.

Help needed consolidating lines

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
plusoneservices - 10 Jan 2006 14:17 GMT
Hi all. I have an issue where i have several lines on a spreadsheet
where i want to consolidate it onto one line.

Sounds simple i know, please see the attached file as it explains my
situation far more clearly. (example.jpg).

Many thanks
Darren

+-------------------------------------------------------------------+
|Filename: example.JPG                                              |
|Download: http://www.excelforum.com/attachment.php?postid=4199     |
+-------------------------------------------------------------------+

Signature

plusoneservices

Max - 10 Jan 2006 17:55 GMT
Here's one approach to play with ..

We'll create a pivot table (very quickly*), then just apply
some simple formulas to pull out the desired table
*Requires only a few clicks and drags & drops <g>

Sample construct available at:
http://www.savefile.com/files/5682246
Consolidating_Lines_plusoneservices_gen.xls

Create Pivot Table (PT):
Select any cell within the source table in A1:B13
Click Data > PivotTable Report
Click Next > Next

In step 3 of the wizard,
Drag & drop PLONO within the ROW area
Double-click on PLONO > Set Subtotals to "None" > OK

Drag & drop SECTION within the COLUMN area
Double-click on SECTION > Advanced
Check "Descending" under AutoSort options > OK

Drag & drop SECTION within the DATA area
(it'll appear as Count of SECTION)
Click Next

In step 4,
Check "Existing worksheet", enter: =$D$1
Click Finish

(The PT will be created in D1:H8)

Then, to pull out the desired results:
Put in J2: =D2, copy J2 down to J7
Put in K3: =IF(E3=1,E$2,"")
Copy K3 across to M3, fill down to M7 to populate

The above yields in J2:M7  :

PLONO
10697 LEGL CONT
18520 LEGL CONT
21424 LEGL CONT
21495 LEGL CONT BLDG
23275 LEGL CONT BLDG

--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--

> Hi all. I have an issue where i have several lines on a spreadsheet
> where i want to consolidate it onto one line.
[quoted text clipped - 15 lines]
> plusoneservices's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=30309
> View this thread: http://www.excelforum.com/showthread.php?threadid=499735
plusoneservices - 11 Jan 2006 17:42 GMT
Thank you, this is fantastic. Your help is much appreciated!
plusoneservices - 11 Jan 2006 17:42 GMT
Thank you, this is fantastic. Your help is much appreciated!!

Signature

plusoneservices

Max - 11 Jan 2006 22:06 GMT
You're welcome !
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

> Thank you, this is fantastic. Your help is much appreciated!!
>
[quoted text clipped - 3 lines]
> plusoneservices's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=30309
> View this thread: http://www.excelforum.com/showthread.php?threadid=499735
 
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.