+ Reply to Thread
Results 1 to 3 of 3

[SOLVED]How to change a formula across multiple colums and rows

  1. #1
    Registered User
    Join Date
    10-24-2018
    Location
    sunderland
    MS-Off Ver
    Version 2201 Build 16.0.14827.20186 64-bit
    Posts
    58

    [SOLVED]How to change a formula across multiple colums and rows

    Hi all

    I have an issue on my sheet, my formula reads data from a list of contracts, my problem is whoever created it has only given me 42 lines and i need more.

    each formula references the table multiple times. i am on week 42 at the moment and have 10 weeks still to go, is there an easy way to change these from

    IF($H46="fixed",1,0)*(SUMIF($C$8:$C$42,$G46,Q$8:Q$42)*(I46+J46))

    =IF($H46="fixed",1,0)*SUMIF($C$8:$C$42,$G46,M$8:M$42)*P46

    to

    IF($H46="fixed",1,0)*(SUMIF($C$8:$C$43,$G46,Q$8:Q$43)*(I46+J46))

    =IF($H46="fixed",1,0)*SUMIF($C$8:$C$43,$G46,M$8:M$43)*P46

    or can i make it dynamic if a new contract is added is added.

    hope this is clear
    Attached Files Attached Files
    Last edited by sharky1978; 10-17-2023 at 09:05 AM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,215

    Re: How to change a formula across multiple colums and rows

    On Ribbon, select "Find & Select"

    Select "Replace"

    "Replace what:" $42

    "Replace with:" $60 (or whatever you require)

    Then "Replace All" button
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Registered User
    Join Date
    10-24-2018
    Location
    sunderland
    MS-Off Ver
    Version 2201 Build 16.0.14827.20186 64-bit
    Posts
    58

    Re: How to change a formula across multiple colums and rows (Solved)

    well you made that seem easy

    thanks

+ 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. Formula required for comparing multiple colums to multiple colums
    By Pringgles in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-30-2012, 07:23 AM
  2. change rows to colums
    By Jerry.Peoples in forum Excel General
    Replies: 4
    Last Post: 03-16-2010, 11:16 AM
  3. Merge Sheets into one, and change rows to colums
    By MSTARS in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-21-2009, 05:11 PM
  4. Convert single colum/multiple rows to multiple colums.
    By merlinxl in forum Excel General
    Replies: 15
    Last Post: 06-12-2008, 07:01 AM
  5. How can I sort colums and rows when the rows always change?
    By jamesstorx in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-09-2007, 03:47 PM
  6. [SOLVED] how can i change my sprdsht to list info from colums into rows
    By kate in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-18-2006, 11:00 AM
  7. How do change rows to colums AND columns to rows
    By Colleen A in forum Excel General
    Replies: 7
    Last Post: 12-29-2005, 08:45 PM
  8. [SOLVED] Change colour of bars/lines in charts when data in rows/colums
    By RodP in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-27-2005, 01:05 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