+ Reply to Thread
Results 1 to 4 of 4

Excel equivalent formula

  1. #1
    Registered User
    Join Date
    01-12-2021
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    2

    Excel equivalent formula

    Hi guys,

    Does anyone know an equivalent formula in Excel for the following Google Sheet formula:

    IF(B3="String",UNIQUE(Range)," "))

    I have tried searching online but not been able to find anything that can help me.

    I would appreciate anyone who can help!

    Thanks! :-))

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

    Re: Excel equivalent formula

    If you're running Office 365, the same formula works. If you have an older version (which appears to be the case given your profile's version), you lack the UNIQUE function.

    There are work-arounds, arguably the simplest would be writing a user-defined function in VBA to sift out only distinct values. If everyone needing to use such formulas uses Windows, you could use the Windows Script Host's Dictionary object for this. Are you allowed to use VBA?

  3. #3
    Registered User
    Join Date
    01-12-2021
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    2

    Re: Excel equivalent formula

    Hmmm, I'm not sure if I am allowed to use VBA. I'm trying to create the spreadsheet for my wife on her work computer, so possibly not
    Thanks for the advice though. I will find out if I am able to do this and get to it!

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

    Re: Excel equivalent formula

    If you're not allowed to use VBA, then you'd need to filter out distinct items from Range using formulas like this.

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

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

    Fill BX2 down until it returns error values.

+ 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. Google Sheets 'Arrayformula' with nested 'Importrange' formula Excel Equivalent?
    By Tamarissa in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 07-10-2018, 04:13 PM
  2. Excel Equivalent to Lotus 123 Formula
    By texber2011 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 11-10-2011, 02:33 PM
  3. Excel Formula equivalent of Access Formula
    By adam90 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 01-13-2010, 07:37 AM
  4. Formula equivalent of CurrentRegion
    By bdr200 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  5. [SOLVED] Formula equivalent of CurrentRegion
    By bdr200 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  6. Formula equivalent of CurrentRegion
    By bdr200 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  7. Equivalent VBA for MID/FIND formula
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-18-2005, 01:06 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