+ Reply to Thread
Results 1 to 3 of 3

How to reference text in another cell

Hybrid View

  1. #1
    Registered User
    Join Date
    06-05-2018
    Location
    Englewood, NJ
    MS-Off Ver
    2013
    Posts
    9

    How to reference text in another cell

    Hello,

    I am currently working on a function that will count the number of a specific type of response a user had to a survey. My current function is as follows:

    =(COUNTIFS(Sheet2!$J$3:$J$2164,"LISA",Sheet2!$F$3:$F$2164,"Other"))+((COUNTIFS(Sheet2!J8:J2169,"LISA",Sheet2!F8:F2169,"Yes, but perhaps another answer")))

    Where it says LISA, I need to have it reference text in column A, where there is a list of the people who took the test.

    In Column A, the names are listed. I just need a way to reference the text in a cell in column A to replace the individual's name, as I don't want to fill it in every time over and over again.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: How to reference text in another cell

    Hi, welcome to the forum

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: How to reference text in another cell

    it "LISA" is in A2 for example, then replace it in the formula with $A$2. If you need to drag the formula down as it contains multiple names then replace it with $A2. If the formula has to be draged to the right starting in A3, then A$2
    Attached Files Attached Files

+ 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] Check text in adjacent cell and accordingly fill text from master reference
    By bcmehta in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-11-2016, 08:15 AM
  2. [SOLVED] Sumifs reference criteria is text but I want to reference cell
    By bbeards2 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-06-2015, 04:04 PM
  3. [SOLVED] I want to change a text reference to a cell reference but im getting #N/A
    By mikey42979 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-28-2015, 12:12 PM
  4. Indirect Sheet reference with cell reference left function and text
    By teststrip in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-01-2015, 10:31 AM
  5. [SOLVED] How to reference Timevalue to change a cell's text to another text
    By gutchek in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-17-2014, 02:44 PM
  6. Text Cell reference and increase the cell reference by step value
    By Supriya in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-14-2005, 08:18 AM
  7. Replies: 2
    Last Post: 01-25-2005, 04: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