Display data based on month

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,077
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hi all,..

i have data set this below start column a

datetitle
02/01/2014as
05/01/2014ab
06/02/2014ac
08/03/2014ad
10/03/2014ae
25/04/2014af
etc...

<tbody>
</tbody>

i want to display data based on month...e.g. display data only February, etc..[with drop list month]

maybe,,something like Filter or helper column...

it's possible with formula (not pivot/vba)

thanks...

m.susanto
 
hi aladin, for reason certainly my boss need show all data in 1 year to count and analyze "shoot on target" in next year...

E4, control+shift+enter, not just enter, copy across, and down:
Rich (BB code):
=IFERROR(INDEX(A$2:A$8,SMALL(IF(YEAR($A$2:$A$8)=YEAR(TODAY()),
    ROW($A$2:$A$8)-ROW($A$2)+1),ROWS(E$4:E4))),"")

Is this what is wanted?
 
Last edited:
Upvote 0

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
thanks Aladin, but not i want..i mean, with your formula before how do show all data in 1 year (assuming the data in 1 year) & KEEP WITH DROP DOWN LIST CALL "ALL" as CONTROLLER , like drop down list month in cell E2 before....

perhaps, needed helper column??? thanks Aladin...
 
Upvote 0
thanks Aladin, but not i want..i mean, with your formula before how do show all data in 1 year (assuming the data in 1 year) & KEEP WITH DROP DOWN LIST CALL "ALL" as CONTROLLER , like drop down list month in cell E2 before....

perhaps, needed helper column??? thanks Aladin...

E4, control+shift+enter, copy across, and down:
Rich (BB code):
=IFERROR(INDEX(A$2:A$8,SMALL(IF(TEXT($A$2:$A$8,"mmmm")=
  IF($E$2="All",TEXT($A$2:$A$8,"mmmm"),$E$2),   
  ROW($A$2:$A$8)-ROW($A$2)+1),ROWS(E$4:E4))),"")
 
Upvote 0
aladin, one word "AMAZING"

it's really 1.000.000% work....

are you man??

i am happy now...........[SOLVED]
 
Upvote 0

Forum statistics

Threads
1,215,375
Messages
6,124,576
Members
449,173
Latest member
Kon123

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