We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 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!

MS Excel/maths advice...

daytona0
daytona0 Posts: 2,358 Forumite
edited 22 August 2016 at 5:32PM in Techie Stuff
null entry

Comments

  • VfM4meplse
    VfM4meplse Posts: 34,269 Forumite
    10,000 Posts Combo Breaker I've been Money Tipped!
    edited 27 January 2016 at 4:17PM
    I've got a question if anyone is good with .xls?

    I'm subtotalling from a filtered spreadsheet using the sum function / formula bar, and although it picks up the formula perfectly there is no entry in the recipient cell, even when the filter is set to "all". The spreadsheet is a download from Santander, how do I get it to display the sum of the selected cells?

    Very weird, as I was able to do this with First Direct statement downloads on a separate worksheet in the file. (Yes, its tax return time :o). Have played with the cell formatting function without success. Any ideas?

    Eta: the more I play with it, the weirder it gets....I'm able to link between all other worksheets in the file, but wasn't able to move / copy the Santander sheet in so copied the data and pasted manually either. Am starting to think this is something to do with the origin of the data, even though its been pasted into a "normal" , xls file.
    Value-for-money-for-me-puhleeze!

    "No man is worth, crawling on the earth"- adapted from Bob Crewe and Bob Gaudio

    Hope is not a strategy :D...A child is for life, not just 18 years....Don't get me started on the NHS, because you won't win...I love chaz-ing!
  • agrinnall
    agrinnall Posts: 23,344 Forumite
    10,000 Posts Combo Breaker
    What format are the cells you are trying to sum? Are any of the cells a different format to others? Have you tried making the entire column the same format (number of some sort probably)?
  • Le_Kirk
    Le_Kirk Posts: 24,880 Forumite
    Part of the Furniture 10,000 Posts Photogenic Name Dropper
    Is/are the cell(s) you are trying to write to "Protected?"
  • rmg1
    rmg1 Posts: 3,159 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    daytona0 wrote: »
    Hey all, just a quick one regarding Microsoft Excel/maths...

    I'm doing a football league spreadsheet whereby 22 "teams" play head to head games for 21 weeks (so 21 games in total - half a season). My teams are listed vertically from 1 to 22.

    My weekly fixtures are listed vertically too (in pairs) so I have it like this:

    Week 1:
    1 Newcastle
    2 Liverpool
    3 Chelsea
    4 Man U
    etc

    I obviously want it so that each team doesn't play the other twice. Does anyone know of any way to generate the complete list of unique pairs easily (all 21 of them, each as a vertical string)? I am currently filling it in by starting with the 1-2, 1-3, 1-4 etc at the top and then slotting fixtures in but this is extremely time-consuming.

    This was actually quite straightforward (easy when you know how)
    In cell A1, put the maximum number of teams you have (i.e. 22)
    In cell B1 put 1 (first team)
    In cell C1 put 2 (second team)
    Now for the fun bit.....
    In cell B2 you want the following formula:-
    =IF(C1+1>=$A$1,B1+1,B1)
    In cell C2 you want:-
    =IF(C1+1>=$A$1,B2+1,C1+1)

    Drag down as necessary.

    It looks good at first glance but I haven't tested it completely.

    To get the team names, you can do lookups as usual.
    :wall: Flagellation, necrophilia and bestiality - Am I flogging a dead horse? :wall:

    Any posts are my opinion and only that. Please read at your own risk.
  • VfM4meplse
    VfM4meplse Posts: 34,269 Forumite
    10,000 Posts Combo Breaker I've been Money Tipped!
    agrinnall wrote: »
    What format are the cells you are trying to sum? Are any of the cells a different format to others? Have you tried making the entire column the same format (number of some sort probably)?
    Le_Kirk wrote: »
    Is/are the cell(s) you are trying to write to "Protected?"
    Thanks guys, but I now certain the issue is with the source format. As I said, I couldn't copy the whole worksheet over in the usual way. This was because the file didn't recognise that I had any other .xls files open, when in fact I have 3 others on the go, all of which have no trouble in recognising each other! When I then highlighted the whole spreadsheet to copy and paste special, the paste options were web-based and not what you would usually see.

    I then wasted my time copying the data into a spreadsheet that does sub-total, refiltered and picked up the cells I wanted - again included in the formula, but not the sum! Definitely something to do with the functionality of the source data. Santander is such a PITA, why can't they just use Office 10 like everyone else?
    Value-for-money-for-me-puhleeze!

    "No man is worth, crawling on the earth"- adapted from Bob Crewe and Bob Gaudio

    Hope is not a strategy :D...A child is for life, not just 18 years....Don't get me started on the NHS, because you won't win...I love chaz-ing!
This discussion has been closed.
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
  • 351.8K Banking & Borrowing
  • 253.4K Reduce Debt & Boost Income
  • 454K Spending & Discounts
  • 244.8K Work, Benefits & Business
  • 600.2K Mortgages, Homes & Bills
  • 177.3K Life & Family
  • 258.5K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.2K 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.