+ Reply to Thread
Results 1 to 3 of 3

How to change formula ?

  1. #1
    Registered User
    Join Date
    06-29-2013
    Location
    Poland
    MS-Off Ver
    Excel 2010
    Posts
    1

    How to change formula ?

    Hi All,

    Can You please help me to change formula cells numbers:

    =IF('147'!$Q$5=1;'147'!$D$13;0) into
    =IF('148'!$Q$5=1;'148'!$D$13;0)
    : :
    : :
    : :
    : :
    =IF('190'!$Q$5=1;'190'!$D$13;0)

    147, 148 ..... 190 is the cell number

    Right now I am changing it manualy in every single cell. Can I do it with some kind of tool ?

    thanks
    JD

  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
    44,445

    Re: How to change formula ?

    When you say "cell", do you mean "row"?

    In which case:

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS
    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
    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
    52,933

    Re: How to change formula ?

    Hi and welcome to the forum

    147, 148 ..... 190 is the cell number
    That looks like the sheet name?

    If so, try this....
    =IF(INDIRECT("'"&146+ROW(A1)&"'!$Q$5")=1,INDIRECT("'"&146+ROW(A1)&"'!$D$13"),0)
    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

+ 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