473,405 Members | 2,187 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Microsoft Excel - pulling data from multiple tabs to a single tab

I have daily timesheets for each individual Supervisor for each day. Infomation on those timesheets are the employee name, the hours they worked and th job location (which varies per day). They can also work at different locations per day as well. I am tying to pull the employee name, the job location, and the hours at that location from the timesheet and put it in a database on a different tab.

For example if John Smith worked 5 hours running conduit and another 5 hours pullig cables, I need to be able to capture that in a database. I tried an If/Not statement and that didn't even come close. Besides if the employee didn't work I certainly don't want them to show up in the databast.

The hard part is for it to recognize the value in the "hours" field and then for it to look at where those hours were worked. I have no idea how to proceed and I really don't know if this clarified matters either.

Thanks,

Bill
Attached Files
File Type: zip Copy of Timesheet_v1.1_19Apr11.zip (280.4 KB, 116 views)
Apr 28 '11 #1
6 2642
NeoPa
32,556 Expert Mod 16PB
Bill, if you really need help then I suggest you post the question clearly. At the moment it has too many references to undefined terms and very little that makes much sense without looking at the attachment. The question isn't supposed to be in an attachment. It should be in the post. An attachment doesn't hurt per se, but it's not the question.
Apr 29 '11 #2
TheSmileyCoder
2,322 Expert Mod 2GB
In sheet "Ash Monday" I expect that Fields F4 through 04 are meant to indicate different worksites?

Are these sheets filled in manually directly in Excel? If so you might easily run into problems with typos for instance. Just a word of warning.


Looking at it, it seems quite a bit of VBA code would be needed, to first read in the worksites, then import the hours worked, and properly tie them to the correct worksites. Even so, it would be very specific to the current layout of the excel sheet, and if something changes (someone inserts extra rows/Columns) the code might easily break.

So in short, its not impossible, but it does seem like quite a bit of work to create and maintain the code.
Apr 29 '11 #3
Yes they are filled in manually. The worksites are from a dropdown filled from the "DTA WORKSHEET" tab as well as the names on the "Ash Monday" tab. Once we have the formulas figured out, I'll lock down the specific cells so no one can change the data. The only data that is filled in is the time in the boxes and then just pick the location from the dropdown.

I'll do whatever it takes. I'm not very familiar with VBA and I don't think my 2 semesters in C++ is going to help me much on this. Any assistance is greatly appreciated.

Thanks!
Apr 29 '11 #4
NeoPa
32,556 Expert Mod 16PB
Handling work like this is probably easier to manage in Access than Excel, but I certainly appreciate how much easier it may be for users to work within Excel, and Excel certainly can do a good job if handled correctly. Excel has other advantages too in that it can present certain data more easily and understandably. It just makes it harder to manage as the requirements get more complicated. It does have an object structure that enables you to do what you need, but I would suggest that using it would put the onus on you, the designer, to be very careful about what you plan to do and how you plan to do it.

This isn't something I'd generally recommend for anyone before intermediate level at least. As Smiley says, there's a whole lot of planning and work involved, and there's only so much hand-holding you can expect - even from our experts here. That said, as long as all the related questions are asked clearly enough, I'm sure you'll get help and answers in time. Quickly enough to make it practical to handle in a commercial environment I don't know, but certainly there's a willingness to help here generally which you can take advantage of.
Apr 30 '11 #5
I wholeheartedly agree about Access being so mch easier in this situation... All I'd have to do is create a basic form and it'd do everything I need it to. Unfortunately, my Supervisor is dead set on trying to make Excel do everything even if Excel isn't made to do all of the crap he wants it to do. I know I'm asking for a lot here and if I could figure out how to get it done, I'd do so, but I truly can't seem to get it to work and now that my database just crapped the bed from doing manual entries, I'm in dire straights here!
May 2 '11 #6
NeoPa
32,556 Expert Mod 16PB
I hear your problem Bill, and I'm not trying to make this your 'fault'. I'm simply saying it as I see it. This seems to be the situation you're in and what you need to consider before trying to go forward. I don't think we can help with dealing with your boss's approach/attitude I'm afraid.
May 2 '11 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: MLH | last post by:
I have tblVehicles, tblOwners, tblProxies, tblLienholders. In the vehicles table are and identifying owner and proxy (generally an attorney). Vehicles table is child table to tblOwners and...
5
by: Igor | last post by:
Hi everyone! I have a question about exporting data to Microsoft Excel. I am writing program in C# and have to export some data to excel workbook. It works very good using OLE technology, but...
5
by: Stewart | last post by:
Hi there, I have an Access database, which contains the details of company staff and services. The plan is to extract data from this database onto our forthcoming Intranet (no inserting,...
2
by: ramu007 | last post by:
dear sir/madam, i am working in java/j2ee. In my project using javascript as client side validation. my project have single but multiple tabs like mycomputer properties in out PC.each tab having a...
5
by: jbedwe02 | last post by:
Hi all, I have no clue how to slove this problem & am desperate for an answer: I'm creating a spreadsheet and need to now how to seperate data within a single cell into multiple cells. The...
2
by: DThreadgill | last post by:
I am pulling data into Access directly from a SQL Server (ODBC Connection). The properties of the field in question is set to memo. I'm making a query and joining to another stand-alone table in...
1
by: rinkkunitr | last post by:
i have one asp page from where i am calling a xml page.from this xml page i m calling two asp pages to get an excel with two different worksheets. The variable containing a string, having some values...
2
dafodil
by: dafodil | last post by:
Hi I have a problem with exporting my produced datas to excel. I already tried using the xml.. where I create a html document and allow the user to download my excel file. The report created was...
4
by: peepio | last post by:
Hello, I need to detect when the red X button on the browser window is clicked then logoff the session. It works only when the browser has a single tab because it meets the condition...
0
by: BobLewiston | last post by:
Recently my browser started to repeatedly lose the ability to support multiple tabs. In Internet Explorer 8, I click on the drop-down menu arrow on the right side of the Command Bar's Home button,...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.