The Book-keepers Forum (BKF)

Post Info TOPIC: Profit & Loss spreadsheet


Senior Member

Status: Offline
Posts: 345
Date:
Profit & Loss spreadsheet
Permalink Closed


Hellooooooo biggrin

Long time no see but I have been lurking!!

I need excel advice please.

 

I have set up a P&L spreadsheet showing current month and year to date figures.

How do I copy this to a new worksheet and the formulas change?? ie Januarys YTD = January + Decembers YTD so I want to copy this to February so February YTD = February + January YTD without having to go in and change the formulas????

Is this clear as mud??!! confuse (I know what I mean!!)

 

TIA

Sue

 



__________________
Sue
Assist Office Services - Bradford Bookkeeper


Senior Member

Status: Offline
Posts: 259
Date:
Permalink Closed

Hi Sue,

I'm not sure I follow your requirements but, to get the ball rolling, here's a layout I've seen used to good effect in the past that might give you some ideas.

 ABCDEF
1 JanFebYTDMarApr
2CY Data112  
3PY Data12334

The formula in D2 calculates the sum of the items from B2 to the column prior to D (in this case C). The formula in D2 is =SUM(B2:INDEX(2:2,COLUMN()-1))

At the end of March, cut and insert column D into the column E position - it will now show the Jan-Mar YTD. 

There are lots of other ways to achieve the same thing with different data layouts. Perhaps you could paint a fuller picture of the layout(s) you'd like to achieve as a final presentation? 

Regards,

 

 



-- Edited by Onion4Sage on Monday 16th of February 2015 11:04:37 AM

__________________

Ian

Ian Brown FCA
Onion Reporting Software Ltd

www.onionrs.co.uk

Sage accounts in Excel. No set-up necessary. Free 30 day trial.



Senior Member

Status: Offline
Posts: 133
Date:
Permalink Closed

As far as I know, you can't do this in Excel directly. OpenOffice allows you to specify sheets as absolute or relative references (that is, using a $ or not), so copying a sheet which references relatively the previous sheet will stay as the previous sheet in the new one, which is what you are after.

You could do it in Excel indirectly by using sheet names in formulae. First you need to know what the current sheet is...

www.mrexcel.com/forum/excel-questions/28759-get-sheetname-formula.html

...and then use a table to look up the name of the previous month's sheet, given the current sheet name. Once you have that, you can use the INDIRECT function to calculate the cell you want to access in the other sheet using the sheet name as a variable, similar to what is shown in...

spreadsheetpage.com/index.php/tip/referencing_a_sheet_indirectly/

However, it's no big deal to copy the sheet to a new month and then use search and replace to change all the sheet names to the new, "previous" month. It's not automated, but still pretty quick to do.

__________________
Rob


Senior Member

Status: Offline
Posts: 345
Date:
Permalink Closed

Thanks both of you - much appreciated.

I've used the search and replace which does the job nicely!!

Cheers x

__________________
Sue
Assist Office Services - Bradford Bookkeeper
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.

Tweet this page Post to Digg Post to Del.icio.us
Members Login
Username 
 
Password 
    Remember Me  
©2007-2024 The Book-keepers Forum (BKF). All Rights Reserved. The Book-keepers Forum (BKF) is a trading division of Bookcert Ltd. Registered in England Company Number 05782923. 2 Laurel House, 1 Station Rd, Worle, Weston-super-Mare, North Somerset, BS22 6AR, United Kingdom. The Book-keepers Forum and BKF are trademarks of Bookcert Ltd. This forum is a discussion forum only. There will usually be more than one opinion to any question and any posting should not be viewed as a definitive solution. No responsibility for loss occasioned to any person acting or refraining from action as a result of any posting on this site is accepted by the contributors or The Book-keepers Forum. In all cases, appropriate professional advice should be sought before making a decision. We reserve the right to remove any postings which are offensive, libellous, self-promoting or engaged in covert marketing. We will not notify users of removals. The views expressed in the forum posts are those of the individual and do not necessary reflect or agree with those of The Book-keepers Forum. Any offensive or unsuitable posts will be removed by the moderators. Any reader of this forum can request for a post to be looked into by sending an email to: bookcertltd@gmail.com.

Privacy & Cookie Policy  About