Access and Excel

Madcowz

New Member
Joined
Jan 8, 2015
Messages
21
Hello all.
Hopefully I can explain and ask this question correctly... So I have finally figured out my Excel spread sheet problems, almost anyways. So right now I have my sheets sheet up to return a value under a specific date. For example, I have an employee booked to work on my daily schedule (Sheet 1)for Jan 15. On sheet2, I have the days of the month across the top (cells A1 to AG1), employee name from cell B1 to B52. So when I plug my worker in to a spot on Sheet1, it automatically input "worked" under the Jan 15th cell on sheet 2 and it works great :). My only problem is, on Jan 16th, it will show that the employee has worked in the Jan16th cell, but the jan 15th cell now shows he was off, basically not saving the previous days info. So my question is, Is this where creating an Acess database would come in handy, so that my previous days info will be saved and not reset?
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Can you post some sample data and the formula you are using?
 
Upvote 0
15-Jan-15 (CELL D6)26
Site and Forman Incharge if applicableFuel EmployeesEquipmentEQ.#Start Notes
Work location

<tbody>
</tbody>

above is Sheet # 1


Sheet # 2
NameWorking2-Jan-153-Jan-154-Jan-155-Jan-156-Jan-157-Jan-158-Jan-159-Jan-1510-Jan-1511-Jan-1512-Jan-1513-Jan-1514-Jan-1515-Jan-1516-Jan-15
Employee 100000000W/EW/E000 10
0W/EW/E
0W/EW/E
0W/EW/E

<tbody>
</tbody>

This is the formula I used in Excel to link the two sheets, works good. sheet 1 is the daily schedule, sheet 2 is the days worked test sheet..

=IF(AND(EXACT('New daily schedule'!D6,'Days worked test draft'!Q1), EXACT('New daily schedule'!D6,'Days worked test draft'!Q1)),1,0)
 
Last edited:
Upvote 0
so tomorrow (the 16th) it will show the #1 on sheet 2, but under jan 15th, it will go back to 0
, I need it to save and not change everyday
 
Upvote 0
So I pasted your data where I thought it might go, but you don't have any row or numbers and letters in your post, so pay attention to the formulas I give you and adjust them if needed. I gave you more than one formula so you could see what happens when you copy it. Again make the cell references appropriate for you data if I pasted them in the wrong cells. I am assuming what appear to be dates on your two sheets are actually dates. If they are text you will have problems, by having them as dates you can use the formulas I give you. The reason I state this is because you are using the exact function.

Excel 2010
MNOPQ
112-Jan-1513-Jan-1514-Jan-1515-Jan-1516-Jan-15
211110

<tbody>
</tbody>
Days worked test draft

Worksheet Formulas
CellFormula
M2=IF('Days worked test draft'!M$1<='New daily schedule'!$D$6,1,0)
N2=IF('Days worked test draft'!N$1<='New daily schedule'!$D$6,1,0)
O2=IF('Days worked test draft'!O$1<='New daily schedule'!$D$6,1,0)
P2=IF('Days worked test draft'!P$1<='New daily schedule'!$D$6,1,0)
Q2=IF('Days worked test draft'!Q$1<='New daily schedule'!$D$6,1,0)

<tbody>
</tbody>

<tbody>
</tbody>





Excel 2010
BCDEF
4
5
615-Jan-1526
7FuelEmployeesEquipmentEQ.#Start

<tbody>
</tbody>
New daily schedule
 
Last edited:
Upvote 0
That is fantastic, thank you very much for that, I will give it a go and let you know how it turns out
 
Upvote 0
I tried the formula and it does work, but does the same as my last formula, as soon as I switch the date, the previous day changes from 1 back to zero
 
Upvote 0
Can you share the workbook, sensitive information removed?
Hard to say what's going on without the ability to see the whole sheet and evaluate formulas.

https://www.dropbox.com
 
Upvote 0
I have uploaded the file to dropbox, I think I need your email to send it to you, not really sure, haven't used drop box before.
 
Upvote 0
I have uploaded the file to dropbox, I think I need your email to send it to you, not really sure, haven't used drop box before.

Paste a link to it here.
There's a link tool in the toolbar when you are posting. I guess it looks like the planet earth with a couple of chain links below it.
 
Upvote 0

Forum statistics

Threads
1,214,584
Messages
6,120,385
Members
448,956
Latest member
JPav

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top