+ Reply to Thread
Results 1 to 5 of 5

Google sheets: Edit formula to add N A and other crtieria differently

  1. #1
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Google sheets: Edit formula to add N A and other crtieria differently

    Hi guys,

    Please see sheet here:

    https://docs.google.com/spreadsheets...it?usp=sharing

    If you refer to the tab: Copy of leaderboard ver3, I need to edit Cell U5 (and the other cells which say 'Pts' like cell U5) to basically say if the cells below say
    N A
    N S,
    this should sum to 0.

    I am currently getting '5' (see cell BY 5, CA5, CC5)

    Can someone advise pls?

    Thank you

    R.
    Thanks,

    R.



  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Google sheets: Edit formula to add N A and other crtieria differently

    I tried clicking on your link, but got Error - Not Found 404.

    Please attach the file to one of your posts here.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: Google sheets: Edit formula to add N A and other crtieria differently

    Hi Pete

    pls find attached.

    Also, here is the formula in question:

    ={"Pts";"";Arrayformula(If($N$7:$N="",, If(Q5="",, If((Q7:Q=$L$7:$L)*(S7:S=$N$7:$N)*(S7:S<>""),5,0) +If((Q7:Q=$L$7:$L)*(S7:S<>""),5,0) +If((S7:S=$N$7:$N)*(S7:S<>""),5,0) +If(($O$7:$O="H")*(Q7:Q>S7:S)*(S7:S<>""),5,0) +If(($O$7:$O="A")*(Q7:Q<S7:S)*(S7:S<>""),5,0) +If(($O$7:$O="D")*(Q7:Q=S7:S)*(S7:S<>""),5,0) )))}

    Thank you!
    Attached Files Attached Files

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Google sheets: Edit formula to add N A and other crtieria differently

    I'm not sure what I'm meant to be looking at. In the sheet 'Copy of Leaderboard ver3' I can see "Pts" in a few cells down column O (O7, O13, O19 and so on), but there is nothing beyond column P.

    When I opened your workbook Excel said that it had found unreadable content in the file and when I agreed for it to repair the file it told me that it had removed formulae from several sheets - perhaps this is the problem.

    Pete

  5. #5
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: Google sheets: Edit formula to add N A and other crtieria differently

    Hi Pete,

    Sorry my fault.

    Wrong tab! Can you look at tab copy of fixturers/selection ver 3 please?

    ={"Pts";"";Arrayformula(If($N$7:$N="",, If(Q5="",, If((Q7:Q=$L$7:$L)*(S7:S=$N$7:$N)*(S7:S<>""),5,0) +If((Q7:Q=$L$7:$L)*(S7:S<>""),5,0) +If((S7:S=$N$7:$N)*(S7:S<>""),5,0) +If(($O$7:$O="H")*(Q7:Q>S7:S)*(S7:S<>""),5,0) +If(($O$7:$O="A")*(Q7:Q<S7:S)*(S7:S<>""),5,0) +If(($O$7:$O="D")*(Q7:Q=S7:S)*(S7:S<>""),5,0) )))}

    thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Google Sheets: Formula Required For Look Up Value
    By sijostephen in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 11
    Last Post: 07-01-2019, 04:39 AM
  2. Google Sheets: formula for best 5 of last 10 [MOVED]
    By k.j. in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 6
    Last Post: 08-26-2018, 08:15 AM
  3. Google Apps Script for Google Sheets Pulling Formulas from Master to Several Slave Sheets
    By excelroofing in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 08-22-2018, 02:06 AM
  4. Google Sheets: Formula I can use with multi conditions
    By CullyM in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 07-12-2018, 01:06 PM
  5. Excel lookup formula to google sheets
    By bluechipjr in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-27-2017, 06:04 PM
  6. email row contents based on cell values (google sheets populated by google forms)
    By reedg in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 01-13-2016, 02:55 PM
  7. Basic Sum Formula in Google Sheets
    By lesoies in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 7
    Last Post: 08-27-2013, 04:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1