Eln3ssan

New Member
Joined
May 14, 2018
Messages
3
Hello
How are you my friends!
I hope you will help me to complete this table It is a Time sheet
I want you to create numbers of work time according to the following condition:
in (E8) set valuein [F8:AJ8] random numbers SUM random numbers
in [F8:AJ8]= SET VALUE
in (E8)I want to cancel columns if the month is less than 30 days and not figuring columns of cellsFile
MANfMGbiafI1NCAwUbssJdMIWDx3VvrPUNFJFXtAwbPJMg6eI4KmTWjZkJ3N4pao0eNGxuMVW-VwNEvLfV22IudVCgWn_TXzbjrIG2KM0uQpNIHxfWJ6ZShMf4pb9MOw2uXipWp0hXllLTidIpaa-aHu2rmFm-Av4WqmiQWbsJhoW_uaXM_BIb-8bbzZrCWFg-bRtgIa5K5x34r7RTWGLF61LHPyBXWTcGQ9R2VOYohV6Q5fDrmrmZ_p0ceXSOnjTtk17yRKUe5Lkp6T9ROdmp7OSAmREqF6AfD1zXBSLFdOpoRt04agOeZVmC_PIcab5YiA762QFhgmeBesyjZX5F3-Q-ZuxmAm1FetI5Ed1aZM6L8Qs1FOd1BXC-NlEzQmANLAmdM0NudS8SpFk0bUJe9SQzq5ALGA-HUvvQa8u-Jyk_omm6qLxRBgDPnDqeg_0s3w1l8EIlTpBUPFcrqOD_jzR9LZvOUY2hhhyK2QIl3MqSxBqbiMgsj0E1J9mIJyCA3RuJ6qPDYr6p8QvC7TvC_Vsv1DZdq9kld9Hw4PLQs7RXBUlrsbROpvrZ4oowYqaCGEJTC5uZK-BeGCzUpUGsUaJ8iQiPEufEr4PfI=w1360-h366-no


in url
https://docs.google.com/spreadsheet...Ce9oSX3GfHj/pubhtml?widget=true&headers=false
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Tho this sheet is good for humans, it is not conducive for the computer to sum data.
Your sheet would have to be customized for every month/year.

Data entry should be a simple layout:

personID, Date, Hrs
3251, 3/1/2018, 8
3251, 3/2/2018, 7

now excel can sum the data by year, month, day, etc. and produce the layout you showed above.
 
Last edited:
Upvote 0
thanks ranman256

this is file
https://drive.google.com/file/d/1u4w-aNxZ-fPTObKi2XLzJ4ZBxqgo5dA-/view?usp=sharing

I use this formula
=IF(K$8="Fr","",IF(COLUMN()=$C$9+COLUMN($I$11)-1,$AN11-SUM($I11:J11),IF(COLUMN()>$C$9+COLUMN($C$11)-1,"",RANDBETWEEN(MAX($A$9,$AN11-(SUM($I$11:J11)+($C$9-COLUMNS($I11:K11))*$B$9)),MIN($B$9,$AN11-(SUM($I11:J11)+($C$9-COLUMNS($I11:K11))*$A$9))))))

but i need tow conditions
sum cell from i11 to am11 = set value
sum cell from i11 to i14= set value
 
Upvote 0

Forum statistics

Threads
1,216,031
Messages
6,128,424
Members
449,450
Latest member
gunars

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