Previous in Forum: Excel Number Generator   Next in Forum: Check In or Lose Your Internet Access?
Close
Close
Close
14 comments
Rate Comments: Nested
Power-User
Engineering Fields - Control Engineering - Newby Member Long Time User Engineering Fields - Instrumentation Engineering - New Member

Join Date: Jun 2006
Posts: 224
Good Answers: 9

Excel Chart Showing Data from Multiple Sheets

04/22/2012 2:47 PM

From our computer, we daily download specific control system settings. The download creates a new excel spreadsheet each time it is done, always in the same format.

If I copy each spreadsheet onto separate sheets in an excel file, can I plot data from the separate sheets on a chart?

As an example, cell AB54 contains the same information during each download. I would like to plot cell AB54 from each of the separate sheets onto a single excel chart as a trend line.

I have conducted an internet search on this topic, but have not found a useable answer yet.

Any help is appreciated. Thank you.

Register to Reply
Pathfinder Tags: excel chart multiple sheets
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
Hobbies - CNC - New Member Hobbies - DIY Welding - New Member Engineering Fields - Electromechanical Engineering - New Member

Join Date: Aug 2007
Posts: 23647
Good Answers: 420
#1

Re: Excel chart showing data from multiple sheets

04/22/2012 2:59 PM

Creat a master sheet using the needed data info from each data sheet.

Then plot off the master.

__________________
“ When people get what they want, they are often surprised when they get what they deserve " - James Wood
Register to Reply
Power-User
Engineering Fields - Control Engineering - Newby Member Long Time User Engineering Fields - Instrumentation Engineering - New Member

Join Date: Jun 2006
Posts: 224
Good Answers: 9
#2
In reply to #1

Re: Excel chart showing data from multiple sheets

04/22/2012 4:35 PM

The problem with this is that each sheet has a single days download containing over 40 parameters for each of over 125 control system channels. This makes it a two-dimensional mattrix. By trying to bring in additional downloads, this would make it a three-dimensional mattrix and very unmanageable given the large numbers we would be dealing with.

I am hoping to be able to simply produce a chart that would plot out a cells value from each of perhaps 31 sheets.

As an example, suppose cell AB54 contains the gain for channel 27. By plotting out the cells value from each sheet (sheet1:cellAB54, sheet2:cellAB54, sheet3:cellAB54, ... sheet32:cellAB54), the channel gain over a month can then be viewed.

This is a rather simplified example. For our use we will want to produce charts that contain perhaps six trending lines for various parameters within a control channel.

Register to Reply
Guru

Join Date: Jan 2007
Location: Edinburgh, Bonnie Scotland
Posts: 1334
Good Answers: 23
#4
In reply to #2

Re: Excel chart showing data from multiple sheets

04/23/2012 1:49 AM

Add an extra sheet which is set up to draw the required data into a table. Then produce the graph from this.

__________________
Madness is all in the mind
Register to Reply
Guru

Join Date: Jun 2007
Location: chennai,India
Posts: 592
Good Answers: 19
#3

Re: Excel Chart Showing Data from Multiple Sheets

04/22/2012 10:27 PM

This is possible by writing small macro.If you are interested we can try.

__________________
Ramesh,Freelance Electrical/automation Consultant
Register to Reply
Commentator

Join Date: Jun 2011
Location: Hyderabad, India.
Posts: 92
Good Answers: 2
#5
In reply to #3

Re: Excel Chart Showing Data from Multiple Sheets

04/23/2012 10:25 AM

I knew and wrote many electrical & HVAC programs in Excel as well as VB6. I have been writing programming in high level languages since 1975 on main frame in ECIL-Hyd-bad. I want to write some electrical program in Micros as well. It is my interest.

It will be highly appreciated if you could send or post some simple examples in micros so that i can utilize them to develop the Micros for my electrical programs.

Thank you

__________________
B.E, M.I.E, M.S
Register to Reply Off Topic (Score 5)
Power-User
Engineering Fields - Control Engineering - Newby Member Long Time User Engineering Fields - Instrumentation Engineering - New Member

Join Date: Jun 2006
Posts: 224
Good Answers: 9
#6
In reply to #3

Re: Excel Chart Showing Data from Multiple Sheets

04/23/2012 10:53 AM

Thank you. That is very kind of you.

Here are three images of consecutive days on three consecutive worksheets. These show two parameters on each of six control channels.

I would like to be able to plot any one of the parameters onto a single chart while still retaining the information on separate worksheets.

If you are able to produce a chart that can display one of the parameters, it should be fairly easy to replicate that to produce many more.

Thank you again for your efforts.

Register to Reply
Guru

Join Date: Jun 2007
Location: chennai,India
Posts: 592
Good Answers: 19
#7
In reply to #6

Re: Excel Chart Showing Data from Multiple Sheets

04/23/2012 11:09 AM

Please give me some time.I will revert back to you with solution

__________________
Ramesh,Freelance Electrical/automation Consultant
Register to Reply
Guru

Join Date: Jun 2007
Location: chennai,India
Posts: 592
Good Answers: 19
#8
In reply to #7

Re: Excel Chart Showing Data from Multiple Sheets

04/23/2012 2:56 PM

I have prepared two charts .Please let me know which one will suit you ,accordingly i can write macro

I am not able to paste the picture here.but i can send the file to you provided youremail id is known.

I had sent the picture to you.Please go through and let me know

__________________
Ramesh,Freelance Electrical/automation Consultant
Register to Reply
Guru

Join Date: Jun 2007
Location: chennai,India
Posts: 592
Good Answers: 19
#9

Re: Excel Chart Showing Data from Multiple Sheets

04/25/2012 11:21 PM

As promised I have prepared the macro in a separate excel file with data furnished by the poster in a separate excel data file This is sample program I can send it those who are interested

__________________
Ramesh,Freelance Electrical/automation Consultant
Register to Reply
Associate

Join Date: Feb 2010
Location: Spain
Posts: 33
#10
In reply to #9

Re: Excel Chart Showing Data from Multiple Sheets

04/26/2012 4:39 AM

I am interested,*

*CR4 Admin - email address removed

From the CR4 Rules: Do not post phone numbers or email addresses. The CR4 Admin will delete all phone numbers and email addresses posted in threads or comments. You can share this information via the CR4 internal messaging system.

__________________
If you want different results, don't do always the same (A. Einstein)
Register to Reply
Guru

Join Date: Jun 2007
Location: chennai,India
Posts: 592
Good Answers: 19
#11
In reply to #10

Re: Excel Chart Showing Data from Multiple Sheets

04/27/2012 11:27 PM

I had sent you the files.Let me have your comments.

__________________
Ramesh,Freelance Electrical/automation Consultant
Register to Reply
Participant

Join Date: Dec 2012
Posts: 2
#12
In reply to #11

Re: Excel Chart Showing Data from Multiple Sheets

12/11/2012 1:33 PM

I am also in this similar position where I need to create a bar graph from 3 documents which have the same layout but different numerical results. Could I please get a brief explanation on how I would extract data from the 3 different sheets into a single master sheet?

Register to Reply
Guru

Join Date: Jan 2007
Location: Edinburgh, Bonnie Scotland
Posts: 1334
Good Answers: 23
#13
In reply to #12

Re: Excel Chart Showing Data from Multiple Sheets

12/11/2012 1:45 PM

Start a new sheet just for the graph. Link the data from where it resides to adjacent rows in the new sheet, and produce the graph from there. Enter "=SheetName!CellReference" in boxes where SheetName is the sheet where the data is stored, and CellReference is the location on that sheet (D42 or whatever)

__________________
Madness is all in the mind
Register to Reply
Participant

Join Date: Dec 2012
Posts: 2
#14
In reply to #13

Re: Excel Chart Showing Data from Multiple Sheets

12/11/2012 2:10 PM

Thanks for the swift and detailed reply. I'll post back here when I resume working on this project.

Register to Reply
Register to Reply 14 comments
Copy to Clipboard

Users who posted comments:

BDThompson (2); GM1964 (2); Javier Aseguinolaza (1); m_dhillon (2); Mushtaq Hussainh (1); phoenix911 (1); ramvinod (5)

Previous in Forum: Excel Number Generator   Next in Forum: Check In or Lose Your Internet Access?

Advertisement