We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

Google sheets help

Options
Worried_of_wakefield
Worried_of_wakefield Posts: 169 Forumite
Part of the Furniture 100 Posts Name Dropper Combo Breaker
edited 4 January 2021 at 3:38PM in Techie Stuff
Two problems that I'm sure are easily resolved!!
1. Two page workbook, with a summary sheet collecting new monthly data 1st of the month.As I only want the data from the latest month what formula is needed to auto collect on the 1st of each month ( or when a new month cell is populated with new data) At the moment I have to manually change summary sheet cell formula to collect a new month / column reference. - =SUM('Summary 2021'!E5+'Summary 2021'!E8+'Summary 2021'!E9+'Summary 2021'!E10)  - Auto change 'E' to 'F' on 1st of feb
2. Monthly accounts Jan-Dec with a running formula with each month/column, can I retain one specific cell in the formula rather than everything changing by one column reference. =SUM(E20+1565+1000)-D98 - retain D98 cell whilst copying formula left to right
Hope I've explained ok
«1

Comments

  • Neil_Jones
    Neil_Jones Posts: 9,543 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    1) What do you mean "auto collect"?  What are you trying to do?
    2) Use the dollar sign = $A$1 means you can copy it relentlessly and it will not change from cell A1.
  • see edit may make more sense
  • Le_Kirk
    Le_Kirk Posts: 24,532 Forumite
    Part of the Furniture 10,000 Posts Photogenic Name Dropper
    You could use an IF statement, whereby you say (in words) If the date is later than a certain date carry out the sums.
  • I'm aware of IF,  Can I instruct the formula to jump a column by doing this?
  • Le_Kirk
    Le_Kirk Posts: 24,532 Forumite
    Part of the Furniture 10,000 Posts Photogenic Name Dropper
    Why do you want to jump a column?  I think what you are trying to do would be better achieved by using visual basic as you seem to getting beyond the bounds of formulae.
  • Sorry probably me showing my limited spreadsheet skills, I just want a cell (say A1) on sheet 1 currently reading data in sheet 2 'January' column Cell E5, to read F5 when the date changes to 1st February. is this simply done?
  • Neil_Jones
    Neil_Jones Posts: 9,543 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    Sorry probably me showing my limited spreadsheet skills, I just want a cell (say A1) on sheet 1 currently reading data in sheet 2 'January' column Cell E5, to read F5 when the date changes to 1st February. is this simply done?

    With all due respect if it was "simply done" you wouldn't be asking the question :)

    It can be done but I think you would have to get today's date, find out what month it is (so Feb would be month number 2 for example), store that figure in a "white on white" cell if you like (so it looks blank but it isn't) and then use a conditional statement.  So you could build that to look at F1 for Jan, F2 for Feb, etc.  Could be done the other way (E5 for Jan, F5 for Feb etc) but it'll get complicated and messy.

    You might get some idea from looking at the "build a calendar in Excel" templates/guides.  These use date conversion techniques to automatically work out how many spaces need to be at the top of the calender.  That's sort of similar to what you need, just with a different outcome.
  • tizerbelle
    tizerbelle Posts: 1,921 Forumite
    Part of the Furniture 1,000 Posts Photogenic Name Dropper
    edited 4 January 2021 at 6:33PM
    Could you just do a Find and Replace to look for 2021'!E and change it to 2021'!F 

    ETA: Just spotted you want an auto change on 1st of month.  Don't know answer to that!




  • tizerbelle
    tizerbelle Posts: 1,921 Forumite
    Part of the Furniture 1,000 Posts Photogenic Name Dropper
    Would this work?  Add an extra column on the second page of your two page workbook (ideally as column A) and in it use an IF/IFS command to say if there is data in the December column (assuming your year end is December) then put December's data in column A, if there isn't any data in December, check November's column and if there is data there, put it in A etc etc - so column A is always populated with the most current value.  Then on the summary sheet you change your formula to look at column A and never have to change it again.
  • Can't say I fully understand what you're trying to do but if January results are in E5, Feb's in F5 etc then
    =INDIRECT(CHAR(68+MONTH(TODAY())) & 5) will return value in E5 if run today, F5 if next month etc. 
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 350.9K Banking & Borrowing
  • 253.1K Reduce Debt & Boost Income
  • 453.5K Spending & Discounts
  • 243.9K Work, Benefits & Business
  • 598.7K Mortgages, Homes & Bills
  • 176.9K Life & Family
  • 257.2K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.