+ Reply to Thread
Results 1 to 4 of 4

Using a Cell as Reference with possible prefix/suffix

Hybrid View

Simon3 Using a Cell as Reference... 02-17-2015, 08:07 PM
Pete_UK Re: Using a Cell as Reference... 02-17-2015, 08:12 PM
Simon3 Re: Using a Cell as Reference... 02-17-2015, 08:47 PM
Pete_UK Re: Using a Cell as Reference... 02-17-2015, 08:52 PM
  1. #1
    Registered User
    Join Date
    02-01-2013
    Location
    Michigan
    MS-Off Ver
    Excel 2010, Excel 2013
    Posts
    26

    Question Using a Cell as Reference with possible prefix/suffix

    I am trying to get a count of records based on a cell reference. Currently i'm using:

    =COUNTIFS(Applicants!$E:$E,"*?*",Applicants!$L:$L,Reference!$A$2,Applicants!$I:$I,"*Admin*",Applicants!$N:$N,"*RG-SCAL*")

    Which works... However for the number of regions and variations I might encounter I was hoping to replace "*Admin*" and "*RG-SCAL*" with cell references.

    The goal would be to replace Admin with a value in A2 and "*RG-SCAL*" with a value in B1.

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

    Re: Using a Cell as Reference with possible prefix/suffix

    Try this:

    =COUNTIFS(Applicants!$E:$E,"*?*",Applicants!$L:$L,Reference!$A$2,Applicants!$I:$I,"*"&A2&"*",Applicants!$N:$N,"*"&B2&"*")

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    02-01-2013
    Location
    Michigan
    MS-Off Ver
    Excel 2010, Excel 2013
    Posts
    26

    Re: Using a Cell as Reference with possible prefix/suffix

    Worked like a charm! Thanks for quick response.

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

    Re: Using a Cell as Reference with possible prefix/suffix

    Glad to be able to help, and thanks for the rep.

    If that takes care of your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Pete

+ 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] Macro to add prefix and suffix to cell
    By heavy_metal_rckr in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-25-2013, 11:48 AM
  2. How to add prefix and suffix to a cell?
    By adi26 in forum Excel General
    Replies: 2
    Last Post: 08-28-2009, 03:21 AM
  3. Add Suffix & Prefix
    By di22y in forum Excel General
    Replies: 1
    Last Post: 06-25-2009, 06:34 PM
  4. adding a string prefix/suffix to a cell
    By elroy in forum Excel General
    Replies: 4
    Last Post: 03-08-2007, 04:47 AM
  5. Prefix and Suffix
    By Clare in forum Excel General
    Replies: 2
    Last Post: 01-30-2006, 03:30 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