+ Reply to Thread
Results 1 to 5 of 5

SOLVED: Add sequence number to only some of the formula when copying

Hybrid View

  1. #1
    Registered User
    Join Date
    09-04-2019
    Location
    Harstad, Norway
    MS-Off Ver
    OFFICE365 MAC
    Posts
    6

    SOLVED: Add sequence number to only some of the formula when copying

    Hi guys!


    I have a formula that I want to copy to the cells under, but I only want it to add sequence number to some part of the formula.


    This is the code:
    =HVIS(Q5=1,(Satser!AL5*S5),0)

    I am trying to drag the cell (dragging from right bottom corner) down, so it will add numbers.

    The problem is that I only want it to add numbers to "(Satser!AL5" and to "*S5 and not to "Q5=1"

    Is there a way I can do this in easy way?
    Attached Images Attached Images
    Last edited by cptolsen; 09-11-2019 at 08:58 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,526

    Re: Add sequence number to only some of the formula when copying

    Maybe $Q$5, that is, make it absolute.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    09-04-2019
    Location
    Harstad, Norway
    MS-Off Ver
    OFFICE365 MAC
    Posts
    6

    Re: Add sequence number to only some of the formula when copying

    Quote Originally Posted by TMS View Post
    Maybe $Q$5, that is, make it absolute.
    That solved my problem :D

    Thank you so much!!!
    Last edited by cptolsen; 09-11-2019 at 11:27 AM.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,526

    Re: Add sequence number to only some of the formula when copying

    Or maybe just $Q5

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,526

    Re: SOLVED: Add sequence number to only some of the formula when copying

    You're welcome. Thanks for the rep.

+ 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] Formula to get number based on sequence
    By rizmomin in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-17-2016, 07:29 AM
  2. Replies: 7
    Last Post: 06-08-2015, 08:39 AM
  3. [SOLVED] Copying Formula to every second column and still keep in sequence
    By Manuel Pedro in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-13-2013, 04:34 PM
  4. Serial number creation / pre-defined alphanumeric sequence / formula
    By beano129 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-08-2012, 02:27 AM
  5. Excel 2007 : copying the formula for the sequence :)
    By anandnikam00 in forum Excel General
    Replies: 1
    Last Post: 01-08-2010, 03:07 PM
  6. Excel formula for finding next number in a given sequence?
    By Rod in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-25-2006, 07:20 AM
  7. Formula for copying a sequence for every 8th cell
    By JBSAND1001 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-02-2005, 06:53 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