Add calculated column

msniha

New Member
Joined
Sep 11, 2014
Messages
4
I have a pivot table that display reference cost by week, like above :
<code style="margin: 0px; padding: 0px; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: inherit;">Ref 201450 201451 201452 20152 20153 20154 20155
0267_C 37,48 37,48
0712_B 29,98
0880 1,25
0931_B 23,43 23,43
0941_D 27,02
0956_E 27,48 29,98
0959_A 6,25
0970_B 33,03 5,00
0993_E 74,96
2016 24,31
2151 1,25
2221_C 72,92
2228_C 52,65 8,75
</code>i want to add a calculated column that fill the blank column with the first week it's produced and then with the last time if it's produced another time The result should be like above ;
<code style="margin: 0px; padding: 0px; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: inherit;">Ref 201450 201451 201452 20152 20153 20154 20155
0267_C 37,48 37,48 37,48 37,48 37,48 37,48 37,48
0712_B 29,98 29,98 29,98 29,98 29,98 29,98 29,98
0880 1,25 1,25 1,25 1,25 1,25 1,25 1,25
0931_B 23,43 23,43 23,43 23,43 23,43 23,43 23,43
0941_D 27,02 27,02 27,02 27,02 27,02 27,02 27,02
0956_E 27,48 27,48 27,48 27,48 27,48 27,48 29,98
0959_A 6,25 6,25 6,25 6,25 6,25 6,25 6,25
0970_B 33,03 5,00 5,00 5,00 5,00 5,00 5,00
0993_E 74,96 74,96 74,96 74,96 74,96 74,96 74,96
2016 24,31 24,31 24,31 24,31 24,31 24,31 24,31
2151 1,25 1,25 1,25 1,25 1,25 1,25 1,25
2221_C 72,92 72,92 72,92 72,92 72,92 72,92 72,92
2228_C 52,65 52,65 52,65 52,65 52,65 52,65 8,75
</code>Thanks.
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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