Results 1 to 4 of 4

Combining Formulae with INDIRECT and SUBSTITUTE

Threaded View

  1. #1
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,475

    Combining Formulae with INDIRECT and SUBSTITUTE

    Anyone know how I can combine the following three formulae, all of which provide me with the correct outcome on their own, into one?

    =COUNTIF(INDIRECT($E$17),SUBSTITUTE(G16,"O","A~*"))
    =COUNTIF(INDIRECT($E$17),SUBSTITUTE(G16,"O","A~*/A"))
    =COUNTIF(INDIRECT($E$17),SUBSTITUTE(G16,"O","A")

    E17 references a named range containing a series of values in the format A*, A*/A or A. I have tried concatenating the SUBSTITUTE section with the OR operator, but it's giving a 0 result, which is incorrect.

    If anyone can spot immediately how to do this, I'd be grateful, otherwise if necessary I'll attach a file, but it will take some time to do that.
    Last edited by AliGW; 10-22-2015 at 11:00 AM. Reason: Solved in superfast time!
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Substitute for INDIRECT(ADDRESS)?
    By maddito in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-20-2015, 08:18 PM
  2. Replies: 4
    Last Post: 10-28-2014, 11:04 PM
  3. Non-volatile substitute for INDIRECT function
    By AndyFarrell79 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-24-2014, 03:29 AM
  4. Substitute for INDIRECT with closed files
    By Jumbala in forum Excel General
    Replies: 19
    Last Post: 03-25-2010, 03:56 PM
  5. Indirect substitute problem
    By RooTFantastic in forum Excel General
    Replies: 1
    Last Post: 02-17-2009, 06:10 PM
  6. indirect / substitute questions
    By RooTFantastic in forum Excel General
    Replies: 1
    Last Post: 02-17-2009, 03:03 PM
  7. Indirect/Substitute in sums
    By nrage21 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-20-2008, 11:48 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