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
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
if you add a helper that points at your date row then cell =text(date,"mmm")
 
Upvote 0
mole999, thanks, but my expected result is when i click/select month of February, the data show only February,,,

perhaps... the formula work like drop down list validation with month criterias (january, February, March, etc....up to December)..

how make it....
 
Upvote 0
I thought you were going to place a filter over the cells, then you would just select the month of interest.

If I assume your table above "date" starts in A1 then in C2 =text(A2,"mmm") and drag down, then add filter to row 1
 
Upvote 0
E2: February, chosen from a drop list as you call it.

E4, control+shift+enter, not just enter, copy accross to F4, and down:
Rich (BB code):
=IFERROR(INDEX(A$2:A$8,SMALL(IF(TEXT($A$2:$A$8,"mmmm")=$E$2,
  ROW($A$2:$A$8)-ROW($A$8)+1),ROWS(E$4:E4))),"")
 
Upvote 0
Aladin, i have do it your suggestion...but i don't show anything..

how your formula is work...
 
Upvote 0
did you get the curly braces before and after aladins code
 
Upvote 0
Aladin, i have do it your suggestion...but i don't show anything..

how your formula is work...

Control+shift+enter: Press down the control and the shift keys a the same time while you hit the enter key. When done properly, you see on the formula bar { and } around the formula.
 
Upvote 0
assuming in cell E2 contains month (January, February,etc) as drop down list....
i want when i click month of February or March, the data showing by each of date....

example ; on February
data showing ------06/02/2014----------ac


on March ;
data showing ------08/03/2014----------ad
------10/03/2014----------ae

etc..
 
Upvote 0
Aladin, i have do it your suggestion...but i don't show anything..

how your formula is work...

E2: February, chosen from a drop list as you call it.

E4, control+shift+enter, not just enter, copy accross to F4, and down:
Rich (BB code):
=IFERROR(INDEX(A$2:A$8,SMALL(IF(TEXT($A$2:$A$8,"mmmm")=$E$2,
  ROW($A$2:$A$8)-ROW($A$8)+1),ROWS(E$4:E4))),"")
I think Aladin's formula has a typo. Try changing that red 8 to a 2. Don't forget to re-enter with control+shift+enter before re-copying across and down.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,756
Members
448,990
Latest member
Buzzlightyear

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