+ Reply to Thread
Results 1 to 12 of 12

#VALUE! error in Google Sheets but not in Excel

  1. #1
    Forum Contributor
    Join Date
    08-21-2010
    Location
    Bournemouth, England
    MS-Off Ver
    Microsoft 365
    Posts
    215

    #VALUE! error in Google Sheets but not in Excel

    Hello.

    I have copied an excel file over to Google Sheets and although it works pefectly in Excel, it throws up several #VALUE! errors in Sheets.
    I hope someone can help me with this problem.

    Thank you.

    https://drive.google.com/file/d/1Yc3...ew?usp=sharing

  2. #2
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: #VALUE! error in Google Sheets but not in Excel

    I get ACCESS DENIED following the link in your posting.

  3. #3
    Forum Contributor
    Join Date
    08-21-2010
    Location
    Bournemouth, England
    MS-Off Ver
    Microsoft 365
    Posts
    215

    Re: #VALUE! error in Google Sheets but not in Excel

    I'm so sorry.

    https://drive.google.com/file/d/1Yc3...ew?usp=sharing

    Thank you.

  4. #4
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,147

    Re: #VALUE! error in Google Sheets but not in Excel

    Tom, you need to set the sharing options before getting the link to the sheet.

    .

  5. #5
    Forum Contributor
    Join Date
    08-21-2010
    Location
    Bournemouth, England
    MS-Off Ver
    Microsoft 365
    Posts
    215

    Re: #VALUE! error in Google Sheets but not in Excel

    Apologies again. I think this is the one ...
    https://drive.google.com/file/d/1Yc3...ew?usp=sharing

  6. #6
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,147

    Re: #VALUE! error in Google Sheets but not in Excel

    In cell D2 enter the following formula, drag it to cell E2 and then fill down;

    Please Login or Register  to view this content.
    See the image below;
    Attached Images Attached Images
    Last edited by Haluk; 12-02-2020 at 05:37 PM.

  7. #7
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: #VALUE! error in Google Sheets but not in Excel

    First, COUNT(...)>0=TRUE ? The =TRUE is superfluous.

    The primary reason Excel and Google Sheets handle your formulas differently is that Excel doesn't require array formula entry for cols D and E formulas but Google Sheets does.

    Enter just

    =COUNT(FIND({0,1,2,3,4,5,6,7,8,9},MID(B2,FIND(" ",B2)+1,FIND(" ",B2,FIND(" ",B2)+2)-(FIND(" ",B2)+1))))

    in L2, and Google Sheets returns 0. Change that to

    =ArrayFormula(COUNT(FIND({0,1,2,3,4,5,6,7,8,9},MID(B2,FIND(" ",B2)+1,FIND(" ",B2,FIND(" ",B2)+2)-(FIND(" ",B2)+1)))))

    and Google Sheets returns 2. Rule-of-thumb: when trying to use the same formulas in Excel and Google Sheets, ALWAYS use array formula entry when any function call would return an array.

    That said, you want to isolate the score substring, 2 strings of decimal numerals separated by a hyphen. Unless your teams would have hyphens in their names, find the hyphen, and find the rightmost space before the hyphen. The following works in Google Sheets.

    D2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In Excel, that'd become the array formula =REPLACE(LEFT(B2,FIND(" ",B2,FIND("-",B2))),1,MATCH(1,0/(MID(B2,ROW(INDEX(A:A,1):INDEX(A:A,FIND("-",B2))),1)=" ")),"").

    Fill D2 down, then copy the col D formulas and paste into col E. Unclear what the col F formulas are supposed to be.

  8. #8
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: #VALUE! error in Google Sheets but not in Excel

    Why not =REGEXEXTRACT(B2,"\d+\D+\d+") ? Also, FWIW, you can use unescaped - in character classes as long as it's the 1st character following [ or [^.

  9. #9
    Forum Contributor
    Join Date
    08-21-2010
    Location
    Bournemouth, England
    MS-Off Ver
    Microsoft 365
    Posts
    215

    Re: #VALUE! error in Google Sheets but not in Excel

    Thank you! I've used Haluk's solution but they both work equally well. One more thing, and in answer to your question about column F, it's used to show the points won for each prediction. 1 point is awarded for each correct RESULT and 3 points is awarded for each correct SCORE. The result is then shown in cell I16.
    A formula for coloum F will be greatly appreciated.

    Thanks again.

  10. #10
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: #VALUE! error in Google Sheets but not in Excel

    F2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Fill down as far as needed.

  11. #11
    Forum Contributor
    Join Date
    08-21-2010
    Location
    Bournemouth, England
    MS-Off Ver
    Microsoft 365
    Posts
    215

    Re: #VALUE! error in Google Sheets but not in Excel

    Thank you very much. I notice that all the matches that aren't a correct result or correct score are in red. Would it be possible to show all correct results in red, all correct scores in blue and all incorrect results/scores in black?

    Thank you.

  12. #12
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: #VALUE! error in Google Sheets but not in Excel

    I didn't alter EXISTING conditional formatting. Here's a link to my working copy now with changed conditional formatting.

+ 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. I am consolidating all excel sheets but it shows error in formula
    By maddyrafi1987 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 05-31-2017, 11:16 AM
  2. Excel and goole calendar connection
    By bokusale in forum Excel General
    Replies: 1
    Last Post: 12-04-2015, 02:23 PM
  3. Error while importing sheets from other Excel files into one file
    By AadVissers in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-07-2015, 03:53 PM
  4. Error 400 when duplicating or deleting Excel Sheets
    By mty912 in forum Excel General
    Replies: 0
    Last Post: 02-26-2015, 05:10 AM
  5. Multipage to distribute data to different sheets /Date error/ VBA excel
    By Raf_sia in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-05-2014, 02:41 AM
  6. Two macro enabled excel sheets opening at a time causes error
    By gaurisneha in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-10-2012, 12:57 PM
  7. Replies: 1
    Last Post: 08-02-2006, 07:40 AM

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