Update formula

Mirelle

New Member
Joined
May 21, 2015
Messages
9
Good morning


Not to sure what you would call what I want done. I have been on Google for awhile, but no luck in finding what I want. Well, I did find you guys.


Your help would be appreciated.

RAW_DATA - WHAT I READ FROM
DateAmountTotal
2015/05/011231
2015/05/021242
2015/05/031253
2015/05/041264
2015/05/051275
2015/05/061286
2015/05/071297
2015/05/081308
2015/05/091319
2015/05/1013210
2015/05/1113311

<colgroup><col><col span="2"></colgroup><tbody>
</tbody>


RAW_DATA DISPLAY
DateFaultsNo
2015/05/051275
2015/05/061286
2015/05/071297
2015/05/081308
2015/05/091319
2015/05/1013210

<colgroup><col><col span="2"></colgroup><tbody>
</tbody>


I have daily data (RAW_DATA - WHAT I READ FROM). When I show my information(RAW_DATA DISPLAY)I only want to show the last day plus 5 days past.


So it shows 2015/05/10 to 2015/05/05


Tomorrow a new day will be added to my raw_data, so now I want to show 2015/05/11 to 2015/05/06


So 2015/05/05 will change to 2015/05/06 and the last date will be 2015/05/11. Each date will move one up.


Formula in 2015/05/05 = Sheet1!A6, so now it must change to =Sheet1!A7

Thanx you

Mirelle
 
try

Excel 2013
ABCDEFGHIJK
1RAW_DATA - WHAT I READ FROMRAW_DATA DISPLAY
2FINWKWK NOWKCall1Call2FINWKWK NOWKCall1Call2
32015/111109 Mar-15 Mar 20156544322015/161613 Apr-19 Apr 201589568956
42015/121216 Mar-22 Mar 201556423412015/171720 Apr-26 Apr 201522
52015/131323 Mar-29 Mar 20150672015/181827 Apr-03 May 20153232
62015/141430 Mar-05 Apr 2015326852015/191904 May-10 May 2015456784
72015/151506 Apr-12 Apr 2015322152015/202011 May-17 May 2015233234
82015/161613 Apr-19 Apr 2015895689562015/21
92015/171720 Apr-26 Apr 201522
102015/181827 Apr-03 May 20153232
112015/191904 May-10 May 2015456784
122015/202011 May-17 May 2015233234
Sheet4
Cell Formulas
RangeFormula
G3=YEAR((TODAY()-ROWS(G3:G$7)*7)-WEEKDAY((TODAY()-ROWS(G3:G$7)*7)-1)+4)&"/"&INT(((TODAY()-ROWS(G3:G$7)*7)-DATE(YEAR((TODAY()-ROWS(G3:G$7)*7)-WEEKDAY((TODAY()-ROWS(G3:G$7)*7)-1)+4),1,3)+WEEKDAY(DATE(YEAR((TODAY()-ROWS(G3:G$7)*7)-WEEKDAY((TODAY()-ROWS(G3:G$7)*7)-1)+4),1,3))+5)/7) copied down till G7
G8=YEAR((TODAY()-ROWS(G8:G$8))-WEEKDAY((TODAY()-ROWS(G8:G$8))-1)+4)&"/"&INT(((TODAY()-ROWS(G8:G$8))-DATE(YEAR((TODAY()-ROWS(G8:G$8))-WEEKDAY((TODAY()-ROWS(G8:G$8))-1)+4),1,3)+WEEKDAY(DATE(YEAR((TODAY()-ROWS(G8:G$8))-WEEKDAY((TODAY()-ROWS(G8:G$8))-1)+4),1,3))+5)/7))
H3=INDEX(B$3:B$20,MATCH($G3,$A$3:$A$20,0)) copied right and down till needed
 
Upvote 0

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Hi

Thank you very much.

It is not working for me or I am just stupid.

I have a cell with formula in : =A6

Now I need formula or code that would replace the 6 with a 7 to show : =A7

At the moment I do that change by hand
 
Upvote 0
Hi

Thank you very much.

It is not working for me or I am just stupid.

I have a cell with formula in : =A6

Now I need formula or code that would replace the 6 with a 7 to show : =A7

At the moment I do that change by hand
No worries, what doesn't work? What version of Excel are you using?
 
Upvote 0
Windows 7, Excel 2013

I just want to remove manual interference. Changing the A6 to A7.

I see your code points to date, what if there is no date?

Mirelle
 
Upvote 0
My solution is based on your model and works fine here, the formulae does not use any cell with date, but a reference to today.
 
Upvote 0
As soon as I add the next weeks info in A13 it does nothing. It does not update week 2015/21 to week 2015/22
 
Upvote 0
Each week the information changes. I already have week 2015/21 information and when I add the formula to it, it does not populate.
 
Upvote 0
Each week the information changes. I already have week 2015/21 information and when I add the formula to it, it does not populate.

The formula I gave you will compute based on actual week, today we are 20th week...
 
Upvote 0

Forum statistics

Threads
1,214,864
Messages
6,121,986
Members
449,060
Latest member
mtsheetz

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