+ Reply to Thread
Results 1 to 3 of 3

Copying across formula using $

  1. #1
    Registered User
    Join Date
    01-31-2013
    Location
    England
    MS-Off Ver
    Pro Plus 2016
    Posts
    19

    Copying across formula using $

    I'm struggling to work out which is the correct way to use the $ symbol to 'pin' a cell.

    In the attached sheet, I have a set of questions in column A with preset answers in B.

    If the answer is "Yes", this should then let column G go ahead.

    I.e. if B3="Yes", G3:G16 will work. That is ok.

    The next question answer in B4 should apply to H3:H16

    However I'm at a loss when it comes to dragging across and down as I can't get the logical test to change to the correct value.
    E.g. H3 should say =IF(B4="yes",$P$5,0)

    Thanks in advance,
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: Copying across formula using $

    Try this:=IF(INDEX($B$3:$B$9,COLUMNS($G$2:G$2))="Yes",$P$5,0), copy down and across.

  3. #3
    Registered User
    Join Date
    01-31-2013
    Location
    England
    MS-Off Ver
    Pro Plus 2016
    Posts
    19

    Re: Copying across formula using $

    Thanks, works well

+ 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. Poining to Empty Rows with Formula & Copying Formula with Increments
    By granteee in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-07-2021, 05:06 AM
  2. [SOLVED] Copying an array formula down keeps copying data in top row
    By blackrosepetals9169 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-10-2018, 05:15 AM
  3. [SOLVED] Copying formula result to new cell, without copying formula itself
    By nappyjim1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-19-2016, 02:24 AM
  4. Copying and pasting formula into specific range based on a formula value
    By akwishestofish in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-09-2012, 01:12 PM
  5. Replies: 1
    Last Post: 04-30-2012, 10:01 PM
  6. Replies: 1
    Last Post: 03-04-2012, 12:03 AM
  7. Copying formula to new worksheet: how to stop formula linking to original source?
    By test-card girl in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-30-2007, 07:32 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