Nested IFS/Multiple Formulas

ncrb_10

New Member
Joined
Feb 14, 2019
Messages
23
Hello,

I am seeking help on the following problem:


abcdfghijklmnopq
1Upgrade 1Upgrade 2Upgrade 3# employeesJanFebMarAprMayJunJulAugSepOctNovDec
2JanFebMar3

<tbody>
</tbody>

I need to write a formula for cells F2:Q2 that calculate the following:

For example - in cell F2

If F1 = A2 then F2=D3 + If F1 = B2 then F2=D3 = If F1 = C3 then F2=D3

So, let's say Cells A2:C2 all contained "Jan", then cell F2 would equal "9". On the other hand, based on the current values of cells A2:C:2, cell a2=3, g2=3, and h2=3.

Let me know if I need to clarify as I am aware this may seem confusing.

Thanks!
 
Well, according to your OP, if you have 2 of the same Month in A2:C2, you'll need double the # of employees for the Month 3 months prior.

If that's no longer the case, Please post some samples with expected results.
 
Upvote 0

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Well, according to your OP, if you have 2 of the same Month in A2:C2, you'll need double the # of employees for the Month 3 months prior.

If that's no longer the case, Please post some samples with expected results.

Nevermind, I found the issue.

However, I was wondering if there was a way to make a minor adjustment. Is there a way to adjust the formula so that the number of employees needed will be shown in each month leading up to the month of the upgrade. In other words, if I need 3 employees and the upgrade will take 3 months, and the month of the launch is August, I need the table to show 3 employees in May, June, and July.

One workaround is that I just multiply your original formula by the # months cell, but I would rather show the data in each month.
 
Upvote 0
Well, according to your OP, if you have 2 of the same Month in A2:C2, you'll need double the # of employees for the Month 3 months prior.

If that's no longer the case, Please post some samples with expected results.


abcdfghijklmnopq
1Upgrade 1Upgrade 2Upgrade 3# employeesJanFebMarAprMayJunJulAugSepOctNovDec
2Aug363

<tbody>
</tbody>


That is what the table is showing using the formula you have provided. Why is that happening? It only occurs if all three cells A2:C2 do not contain a month.
 
Upvote 0

Forum statistics

Threads
1,215,617
Messages
6,125,867
Members
449,266
Latest member
davinroach

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