if formula

vmjan02

Well-known Member
Joined
Aug 15, 2012
Messages
1,059
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
I don't understand as why the out put is as In Center instead it has to be Per Min.
as the month is Jun, any suggestion

Excel Formula:
=IF(TEXT(MAX('ACD Dumps'!A:A),"MMM")={"Nov","Dec","Jan","Feb","Mar","Apr","May","Jun"},"Per Min","In Center")
 
Hi VMJam02,

Here's my contribution,

VMJam02.xlsx
ABC
1May-21Result
2Jun-21Per Min
3Jun-21
4Jun-21
5Jun-21
6Jun-21
7May-21
8May-21
9Jun-21
10Jun-21
11Jun-21
12Jun-21
13Jun-21
14
ACD Dumps
Cell Formulas
RangeFormula
C2C2=IF(OR(MONTH(MAX('ACD Dumps'!A:A))<7,MONTH(MAX('ACD Dumps'!A:A))>10),"Per Min","In Center")
if the month is from Nov till Jun it will be Per Min and once the Month is not equal to Nov till Jun then In Center
 
Upvote 0

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Are you trying to do this row by row?
 
Upvote 0
If row by row, have you tried this from the example I posted?
Excel Formula:
=IF(MONTH($A2)=MEDIAN(MONTH($A2),7,8,9),"In Centre", "Per Min")

*I had "In Centre" and "Per Min" wrong way around
 
Upvote 0
sorry, its row by row. I am using Max function for column A:A and if Max is from Nov till Jun then Per Min else In Center
If row by row, have you tried this from the example I posted?
Excel Formula:
=IF(MONTH($A2)=MEDIAN(MONTH($A2),7,8,9),"In Centre", "Per Min")

*I had "In Centre" and "Per Min" wrong way around
 
Upvote 0
I am using Max function for column A:A and if Max is from Nov till Jun then Per Min else In Center
same in my first post
Excel Formula:
=IF(TEXT(MAX('ACD Dumps'!A:A),"MMM")=({"Nov","Dec","Jan","Feb","Mar","Apr","May","Jun"}),"Per Min","In Center")
 
Upvote 0
Upvote 0
thanks you every one of you, got the solution from

@Toadstool


=IF(OR(MONTH(MAX('ACD Dumps'!A:A))<7,MONTH(MAX('ACD Dumps'!A:A))>10),"Per Min","In Center")

Thank you once again.
 
Upvote 0

Forum statistics

Threads
1,214,991
Messages
6,122,628
Members
449,095
Latest member
bsb1122

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