+ Reply to Thread
Results 1 to 4 of 4

Pasting a formula in multiple cells without changing the range

  1. #1
    Jeff Wheeler
    Guest

    Pasting a formula in multiple cells without changing the range

    I am trying to paste a formula in multiple cells and I want the range to stay
    the same throughout the sheet. When pasting it obviously changes the range
    to the next cell in sequence. I'm using the following formula
    =SUMPRODUCT(--(A2:A4000=70),--(B2:B4000="Product Type"),C2:C4000) and want to
    kep the range A2:A4000, same for column B and C.

  2. #2
    CLR
    Guest

    RE: Pasting a formula in multiple cells without changing the range

    =SUMPRODUCT(--($A$2:$A$4000=70),--($B$2:$B$4000="Product Type"),$C$2:$C$4000)


    The Dollar signs convert from Relative references to Absolute references.

    hth
    Vaya con Dios,
    Chuck, CABGx3



    "Jeff Wheeler" wrote:

    > I am trying to paste a formula in multiple cells and I want the range to stay
    > the same throughout the sheet. When pasting it obviously changes the range
    > to the next cell in sequence. I'm using the following formula
    > =SUMPRODUCT(--(A2:A4000=70),--(B2:B4000="Product Type"),C2:C4000) and want to
    > kep the range A2:A4000, same for column B and C.


  3. #3
    CWillis
    Guest

    RE: Pasting a formula in multiple cells without changing the range

    =SUMPRODUCT(--($A$2:$A$4000=70),--($B$2:$B$4000="Product Type"),$C$2:$C$4000)

    "Jeff Wheeler" wrote:

    > I am trying to paste a formula in multiple cells and I want the range to stay
    > the same throughout the sheet. When pasting it obviously changes the range
    > to the next cell in sequence. I'm using the following formula
    > =SUMPRODUCT(--(A2:A4000=70),--(B2:B4000="Product Type"),C2:C4000) and want to
    > kep the range A2:A4000, same for column B and C.


  4. #4
    Bondi
    Guest

    Re: Pasting a formula in multiple cells without changing the range


    Jeff Wheeler wrote:
    > I am trying to paste a formula in multiple cells and I want the range to stay
    > the same throughout the sheet. When pasting it obviously changes the range
    > to the next cell in sequence. I'm using the following formula
    > =SUMPRODUCT(--(A2:A4000=70),--(B2:B4000="Product Type"),C2:C4000) and want to
    > kep the range A2:A4000, same for column B and C.


    Hi,

    Maybe you can lock your cells,

    =SUMPRODUCT(--($A$2:$A$4000=70),--($B$2:$B$4000="Product
    Type"),$C$2:$C$4000)

    See also

    The difference between relative and absolute references in the Help

    Regards,
    Bondi


+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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