+ Reply to Thread
Results 1 to 6 of 6

Google Sheet function to Excel 2016 function

  1. #1
    Registered User
    Join Date
    03-24-2024
    Location
    Ho Chi Minh City
    MS-Off Ver
    2016
    Posts
    3

    Google Sheet function to Excel 2016 function

    Hi everyone,

    I am struggling with Goolgesheet function in cell H2 sheet Transaction OSV from this link


    "=if($C2="","",iferror(if(row()<>2,INDEX(arrayformula(filter($I1:$I$2,$C1:$C$2<>"",row($C1:$C$2)=max(if($C1:$C$2=C2,row($C1:$C$2),0)))) ,1),0),0))"
    converting to Excel 2016 function.

    Really appreciate if you guys can have a look. Thank you.
    Attached Files Attached Files
    Last edited by TonieeDang; 03-24-2024 at 11:21 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,483

    Re: Google Sheet function to Excel 2016 function

    Welcome to the forum.

    You are going to need to explain what the formula is required to do (in WORDS) and give us some expected results (manually calculated). Please don't expect members to work this out by reverse enginnering a formula. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    03-24-2024
    Location
    Ho Chi Minh City
    MS-Off Ver
    2016
    Posts
    3

    Re: Google Sheet function to Excel 2016 function

    My apology for not clearly explaining my issue.

    In sheet Transaction_OSV, column H "cumulative units", the column will be used to filter stock by ticker in column C and make a sum calculation cumulatively the quantity of that stock has been acquired so far from the very beginning to the time another transactions have occured.
    For example, a stock name Yahoo was bought first on 11 Jul 2016, it will show the results on another transaction of that stock on 14 Jul 2016 (row 13) which is 219.

    The idea is that the H column will return all the cumulative amount of that stock has been acquired upto the time of later transaction.

    I has tried to convert the Googlesheet formula to Excel 2016 using Index Aggregate function combining array but the result not correct.
    "=IF($C2="", "", INDEX($I$1:$I$2, AGGREGATE(14, 6, ROW($I$1:$I$2)/(($C$1:$C$2=$C2)*($C$1:$C$2<>"")), 1)))"

    Thank you for your advice and comment for the first thread Mrs. AliGW.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,483

    Re: Google Sheet function to Excel 2016 function

    Once again, please provide some manually-cacluclated expected results in the sample workbook and annotate the workbook for clarity.

  5. #5
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2021
    Posts
    5,931

    Re: Google Sheet function to Excel 2016 function

    Quote Originally Posted by TonieeDang View Post
    "=if($C2="","",iferror(if(row()<>2,
    INDEX(arrayformula(filter($I1:$I$2,$C1:$C$2<>"",row($C1:$C$2)
    =max(if($C1:$C$2=C2,row($C1:$C$2),0)))) ,1),0),0))"
    converting to Excel 2016 function.
    Excel 2016 can try this:

    =IF($C2="", "", IF(COUNTIF($C$2:C2,C2)=1,0,LOOKUP(2,1/($C$1:C1=C2),$I$1:I1)))

  6. #6
    Registered User
    Join Date
    03-24-2024
    Location
    Ho Chi Minh City
    MS-Off Ver
    2016
    Posts
    3

    Re: Google Sheet function to Excel 2016 function

    Thank you very much. Appreciate for your help Mr. Phuocam.
    Once again, 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. SUMIF Function Excel & Google Sheet
    By Apek in forum Tips and Tutorials
    Replies: 3
    Last Post: 03-18-2024, 09:05 AM
  2. [SOLVED] Excel Function to Google Sheet
    By care29 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 02-13-2024, 07:45 AM
  3. Excel Function to Google Sheet
    By care29 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-13-2024, 06:09 AM
  4. Google Sheets (FILTER + ARRAY) Function translated to my EXCEL Sheet
    By dmcmaste in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-31-2020, 01:35 PM
  5. Question about if this excel/google sheet function is possible
    By nikeman88 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 09-19-2019, 06:53 PM
  6. Question about if this excel/google sheet function is possible
    By nikeman88 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-19-2019, 06:53 PM
  7. Replies: 3
    Last Post: 02-03-2010, 01:32 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