auto repeat by date

JOEE1979

Active Member
Joined
Dec 18, 2022
Messages
250
Office Version
  1. 365
Platform
  1. Windows
I have numbers in "column B"
there is a date in "column J"
is it possible to make the number in "B" auto repeat back into column "B" but with the date in column "J"?
I hope I'm making sense.

I'm hoping this can be done without VBA, but if I don't have a choice, then VBA is ok I guess.

Thank you

schedule 4 tracker.xlsx
ABCDEFGHIJ
3DateUnitOilWMAOtherOther2Scheduled DateStart DateEnd DateExpired Date
41-Jan-2485451-Jan-2431-Jan-24
526541-Jan-2431-Jan-24
685641-Jan-2431-Jan-24
736951-Jan-2431-Jan-24
874581-Jan-2431-Jan-24
974851-Jan-2431-Jan-24
1052451-Jan-2431-Jan-24
1115641-Jan-2431-Jan-24
1295651-Jan-2431-Jan-24
1366561-Jan-2431-Jan-24
1421361-Jan-2431-Jan-24
1532561-Jan-2431-Jan-24
1621541-Jan-2431-Jan-24
1734161-Jan-2431-Jan-24
1884611-Jan-2431-Jan-24
Master
Cell Formulas
RangeFormula
G4G4=A4
G5G5=A4
G6G6=A4
G7G7=A4
G8G8=A4
G9G9=A4
G10G10=A4
G11G11=A4
G12G12=A4
G13G13=A4
G14G14=A4
G15G15=A4
G16G16=A4
G17G17=A4
G18G18=A4
J4:J18J4=[@[Scheduled Date]]+30
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C18:F31Other TypeIcon setNO
C4:F17Other TypeIcon setNO
A4:A5493Expression=($L$2=A4)textNO
B4:B5493Expression=AND($L$2=G4, (ISBLANK(I4)))textNO
B4:B5493Expression=AND($L$2>G4, (ISBLANK(I4)))textNO
B4:B5493Expression=AND($L$2>G4, NOT(ISBLANK(I4)))textNO
Cells with Data Validation
CellAllowCriteria
B3Any value
F3Any value
G3Any value
H3Any value
I3:J3Any value
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
What value in J would need to be there for you to recalculate B?
 
Upvote 0
What value in J would need to be there for you to recalculate B?
Column "A" is a date, this goes on for the remainder of the year.
in this example column "B" unit 8545 -> column "J" says 31Jan24
So I would like unit 8545 to reappear in column "B" where column "A" is 31Jan24

hope this clears it up better
 
Upvote 0
you have merged cells in Column A. and different values in Column B. How are you determining which value in Column B to use?
Do you want to make all the column B values for the same date the same as the first record in column B for that date?


Or are you asking to fill the values down for 1/31/24 based upon the row sequence ? Do you have the same number of records for each date?

A larger sample of disparate rows of values in A and J would be very helpful.

(Also, using merged cells in worksheet formula references is not a best practice, formulas are easily corrupted, any solution I give you will have column A values unmerged. If that is a hard must for you, please say so, and I'll stop working on this).
 
Upvote 0
you have merged cells in Column A. and different values in Column B. How are you determining which value in Column B to use?
Do you want to make all the column B values for the same date the same as the first record in column B for that date?


Or are you asking to fill the values down for 1/31/24 based upon the row sequence ? Do you have the same number of records for each date?

A larger sample of disparate rows of values in A and J would be very helpful.

(Also, using merged cells in worksheet formula references is not a best practice, formulas are easily corrupted, any solution I give you will have column A values unmerged. If that is a hard must for you, please say so, and I'll stop working on this).
- all of column "B" would work, not jut a few
so basically I would have column "B" repeat itself every 30 days (in the same order for all the units)
- column "A" must stay the way it is, however column we can use column "G" as a reference date

Cell Formulas
RangeFormula
G4,G19G4=A4
G5,G20G5=A4
G6,G21G6=A4
G7,G22G7=A4
G8,G23G8=A4
G9,G24G9=A4
G10,G25G10=A4
G11,G26G11=A4
G12,G27G12=A4
G13,G28G13=A4
G14,G29G14=A4
G15,G30G15=A4
G16,G31G16=A4
G17,G32G17=A4
G18,G33G18=A4
J4:J33J4=[@[Scheduled Date]]+30
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C32:F45Other TypeIcon setNO
C18:F31Other TypeIcon setNO
C4:F17Other TypeIcon setNO
A4:A5493Expression=($L$2=A4)textNO
B4:B5493Expression=AND($L$2=G4, (ISBLANK(I4)))textNO
B4:B5493Expression=AND($L$2>G4, (ISBLANK(I4)))textNO
B4:B5493Expression=AND($L$2>G4, NOT(ISBLANK(I4)))textNO
Cells with Data Validation
CellAllowCriteria
B3Any value
F3Any value
G3Any value
H3Any value
I3:J3Any value
 
Upvote 0
you have merged cells in Column A. and different values in Column B. How are you determining which value in Column B to use?
Do you want to make all the column B values for the same date the same as the first record in column B for that date?


Or are you asking to fill the values down for 1/31/24 based upon the row sequence ? Do you have the same number of records for each date?

A larger sample of disparate rows of values in A and J would be very helpful.

(Also, using merged cells in worksheet formula references is not a best practice, formulas are easily corrupted, any solution I give you will have column A values unmerged. If that is a hard must for you, please say so, and I'll stop working on this).
Hello, Just wondering if you looked at the most recent reply I put. Thanks
 
Upvote 0
Nevermind, I just got it going, thanks anyways
sorry, i wasn't able to work on it. But, happy to know you figured it out.
But, you should post your solution so if other people come to the forum with a similar question they can find your approach.


Best Wishes!
 
Upvote 0

Forum statistics

Threads
1,215,165
Messages
6,123,391
Members
449,098
Latest member
ArturS75

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