Any ideas on how I can combine these 2 two formulas into one without the later one being *2:
=ROUNDUP(MMULT(D14:H14,V7:V11)/60/8,0)*2
=ROUNDUP(MMULT(I14:J14,V12:V13)/60/8,0)
Any ideas on how I can combine these 2 two formulas into one without the later one being *2:
=ROUNDUP(MMULT(D14:H14,V7:V11)/60/8,0)*2
=ROUNDUP(MMULT(I14:J14,V12:V13)/60/8,0)
Hi
I'm very confused. What do you mean by combining?
See if you will multiply the value within ROUNDUP by 2, you will get a different value that depends on the value obtained by MMULT.
Hi
Thanks for the reply, as you can tell my grasp on formulas is very limited. Please see the attached where I'm trying to create a calculator where some values are 2 and some are one, I've attached the spreadsheet which I hope will be clearer for what I'm trying to achieve.
Hi
I suppose you want this, but I am not sure.
Formula:Please Login or Register to view this content.
Thanks but that formula doesn't achieve what I'm after:
R14 needs to increment by 2 for every increment in D14:H14
R14 needs to increment by 1 for every increment in I14:J14
Hence my first question about combing the 2 formulas which work independently but I need them to work as one outcome in R14
Since the formulas "work independently" it would seem that you could SUM the formulas, as in:Formula:Please Login or Register to view this content.
Let us know if you have any questions.
Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.
This may be
=ROUNDUP((MMULT((IF($D$7:$J$7="2 persons",2,IF($D$7:$J$7="1 person",1,0))),$V$7:$V$13))/60/8,0)
Or
=ROUNDUP((MMULT((($D$14:$J$14)*(IF($D$7:$J$7="2 persons",2,IF($D$7:$J$7="1 person",1,0)))),$V$7:$V$13))/60/8,0)
Both are array formulas.
Select suitable.
How ARRAY formula is entered
Paste Formula in the cell.
Press F2
Hold Shift+ Ctrl Keys and hit Enter key.
Now the formula is surrounded by {} by excel.
Pl note
Array formula should be confirmed with Ctrl+Shift+Enter keys together.
If answere is satisfactory press * to add reputation.
Thanks for all your input and persisting while I try to convey my requirements but I'm still not there yet.
Attached is the closest I am so far but I need any 2 person job (D, F, G and I14) to increment by 2 in R14.
Essentially I have 480 mins in the 8 hr day and I need to efficiently fill that time with the correct amount of persons based on the duration of each task. As each task is reduced from the max per shift the saved minutes need to be picked up by other 1 or 2 person tasks to efficiently fill the 8 hrs with the least amount of people.
I've finally resolved the issue, many thanks for all your inputs, Reputation has been added
For the benefit of others, please explain hour you resolved the issue. Thanks.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
The answer was blissfully simple, I had the 2 separate formulas report into different hidden cells and then just did a SUM of the 2 outcomes. My knowledge is very basic for excel and the amount of knowledge here is outstanding, thanks for all the help, I'll recommend and will be back
Thank you.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks