I have been trying to research this question for a while. I have a column in which every 3 days are days. Now I need to take the next week and weekend out of that column and put them in two separate columns. I have tried some functions, but nothing is coming closer to work.
** Date of Birth ** | ** weekday ** | ** Weekend ** March 1 March 4 March March March March March March March 7 "post-text" itemprop = "text">
If the helpful cells are suitable for you, then I use the following approach (Note that you need to join dates for this and also believe that the date in the
Assume first date in the date formatgenerated date column B2: , "Dddd") C2: = IF (or (b2 = "saturday", b2 = "sunday"), "weekend", "day of week") e 2: = ifer (index ($ a $ 1: $ C $ 4, small (if ($ C $ 1: $ C $ 4 = $ E $ 1, ROW ($ C $ 1: $ C $ 4)), ROW (1: 1)), 1), "None.") F2: = IFERROR (INDEX ($ $ 1: $ C $ 4, Small (if ($ C $ 1: $ C $ 4 = $ F $ 1, ROW ($ C $ 1: $ C $ 4)), ROW (1 : and
A2
F2
Array formulas . Input them using Ctrl-Shift-Enter instead of Enter as much as you want, drag as much as you want.Screenshots:
![]()
Let us know that it helps.
Comments
Post a Comment