Combined IF formula - please help))

Ann_Isauella

New Member
Joined
Apr 3, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,

I need to create a formula, which could indicate the merchant's status based on the current month's (Feb 23) revenue.
Merchants should have the following statuses:
Repeating 5k Merchant: Generated at least $5,000 USD in the current month and at least $5,000 USD in the previous month.
Lost 5k Merchant: Generated at least $5,000 USD in the previous month but did not generate any revenue during the current month.
Recovered 5k Merchant: Generated at least once $5,000 USD within the last 12 months before the current month, was in lost status last month, and generated $5,000 USD again in the current month.
New 5k Merchant: Generated $5,000 USD for the first time.

Below will find printscreen from excel with data:
1680556759156.png
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
something like this:
mr excel questions 21.xlsm
ABCDEFGHIJKLMNO
10
11Merchant2022-02-012022-03-012022-04-012022-05-012022-06-012022-07-012022-08-012022-09-012022-10-012022-11-012022-12-012023-01-012023-02-01
12Repeating4,9134,2654,2584,6834,2854,2403,9774,8384,3514,4554,8835,0005,000
13Lost4,0784,6454,6304,7674,5134,4444,6204,6624,7234,2144,3225,0003,500
14Recovered4,0304,4174,3714,8794,0303,9164,1744,4874,8324,2505,0004,9005,000
15New4,5394,2094,4244,5124,2194,3793,9664,9203,9864,5594,9334,7525,000
16No 5000 Ever4,8994,6444,1263,9174,5424,8703,9023,9874,1144,4124,9553,2183,987
17
Sheet10
Cell Formulas
RangeFormula
C11:N11C11=EDATE(D11,-1)
O11O11=DATE(2023,2,1)
B12:B16B12=IF(SUM(--(N12:O12>=5000))=2,"Repeating", IF((--(N12>=5000))*(--(O12<5000))=1,"Lost", IF((--(M12>=5000))*(--(N12<5000))*(--(O12>=5000))=1,"Recovered", IF(SUM((--(C12:N12<5000))*(--(O12>=5000)))=12,"New","No 5000 Ever"))))
 
Upvote 0
Can you clarify why you have to look back 12 months for this criteria:
Generated at least once $5,000 USD within the last 12 months before the current month, was in lost status last month, and generated $5,000 USD again in the current month.
If they were in lost status the prior month, then that means the 2nd month back had +5000, so checking the 10 months prior to that is unnecessary.
 
Upvote 0

Forum statistics

Threads
1,215,693
Messages
6,126,237
Members
449,304
Latest member
hagia_sofia

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