A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

A single Page print for key items



 
 
Thread Tools Display Modes
  #1  
Old May 28th, 2010, 01:50 PM posted to microsoft.public.excel.misc
jeffkeef
external usenet poster
 
Posts: 2
Default A single Page print for key items

I have a 2900 line spreadsheet from top to bottom with information about
rooms and organized by it's room number:
example:
col a: b : c : d:
101: Main Lobby: Lobby is 590 Sq ft
102: Janitors Closet: 15 sq ft
103: Elevator room: 15 sq ft
103: Elevatior room 2: 24 sq ft

I want to be able to have one source page where I can type the room number
in and then allow it to show and then print the room number. No data filters
that's ok but not what I'm looking for. Some rooms have like 20-25 lines of
information while some only has 3-4. Macro is ok but how?
--
Jeff
  #2  
Old May 28th, 2010, 03:34 PM posted to microsoft.public.excel.misc
steve
external usenet poster
 
Posts: 28
Default A single Page print for key items

This works in 2007
Please replace sheet names as needed, calling your data page "Sheet1"
Goto the sheet you want to print "Sheet2"
In cel "A1" enter the room number
In cell "A2" enter the formula =IFERROR(MATCH(A1,Sheet1!A1:A3000,0),"")
In cell "A3" enter the formula =IFERROR(MATCH($A$1,INDIRECT("'" & "Sheet1"
&"'!" & "A" & (A2+1) &":A3000"),0)+A2,"")
Drag/fill cell "A3" down as far as you need (more than number of lines that
will occur) -this will create a reference for each row that your room
number occurs
In cell "B2" enter =IFERROR(INDIRECT("'" & "Sheet1" &"'!" & "B" & (A2)),"")
Drag/fill cell "B2" down as needed -this will copy your room names
In cell "C2" enter =IFERROR(INDIRECT("'" & "Sheet1" &"'!" & "C" & (A2)),"")
Drag/fill cell "C2" down as needed -this will copy your area

Hope this helps

"jeffkeef" wrote in message
...
I have a 2900 line spreadsheet from top to bottom with information about
rooms and organized by it's room number:
example:
col a: b : c : d:
101: Main Lobby: Lobby is 590 Sq ft
102: Janitors Closet: 15 sq ft
103: Elevator room: 15 sq ft
103: Elevatior room 2: 24 sq ft

I want to be able to have one source page where I can type the room number
in and then allow it to show and then print the room number. No data
filters
that's ok but not what I'm looking for. Some rooms have like 20-25 lines
of
information while some only has 3-4. Macro is ok but how?
--
Jeff



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:27 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.