+ Reply to Thread
Results 1 to 2 of 2

formula working in one cell but when copied to another cell it doesn't work

  1. #1
    Registered User
    Join Date
    08-21-2015
    Location
    calgary,canada
    MS-Off Ver
    2010
    Posts
    66

    formula working in one cell but when copied to another cell it doesn't work

    hello all,

    cant figure this out, makes no sense why doesn't work....

    =IF(ISERROR(INDIRECT("'1'!M4")),"CREATE SHEET 1",INDIRECT("'1'!M4")) in cell b2 on PROPOSAL SCOPE sheet

    this formula tells cell to display CREATE SHEET 1 until sheet 1 is created (using macro) and cell m4 on that sheet displays a product number eg 123456 then it changes the CREATE SHEET 1 to that product number. works perfect...

    =IFERROR(INDIRECT("'"&ROWS(G$2:G2)&"'!$m$8"),"") in cell g2 on PROPOSAL SCOPE sheet

    this formula tells cell g3 on PROPOSAL SCOPE sheet to display cell m8 on sheet 1 after it is created.. works perfect

    =IFERROR(INDIRECT("'"&ROWS(H$2:H2)&"'!$k$111"),"") in cell h2 on PROPOSAL SCOPE sheet

    this formula also tells cell h2 on PROPOSAL SCOPE sheet to display data from cell k111 on created sheet 1 .. works perfect

    =IFERROR(INDIRECT("'"&ROWS(I$2:I2)&"'!$k$109"),"")in cell i2 on PROPOSAL SCOPE sheet

    this also tells cell i2 on PROPOSAL SCOPE sheet to display data in cell k109 from created sheet 1 ....works perfect..

    Now heres the problem I have 44 lines numbers CREATE SHEET 1 to CREATE SHEET 44 on page where all these formulas do exactly what i need them to, however the second page adjacent to the first also has lines CREATE SHEET 45 to CREATE SHEET 88 and a third page which has the rest up to 100.

    when i copy the formula used in CREATE SHEET 1 to 44 to CREATE SHEET 45 to 88 and so on the formulas do not work...for some reason the show just blank cells , no data is being moved from sheets its being asked to move them from...doesn't make sense, same formula, why doesnt it work.


    hope u can help...thanks
    mike rand

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: formula working in one cell but when copied to another cell it doesn't work

    I tried it on my computer and it works. Can you supply us with your workbook so we can see what is happening?
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

+ 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. VBA code to follow hyperlink doesn't work when cell contains formula
    By PFDave in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-26-2016, 04:19 AM
  2. [SOLVED] Working Formula doesn't work when transfered to another sheet
    By ste67@me.com in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-01-2016, 05:07 PM
  3. [SOLVED] Formula doesn't work when copied
    By Iwant2learnmore in forum Excel General
    Replies: 3
    Last Post: 07-21-2015, 04:32 AM
  4. [SOLVED] Working Formula Entered in Recorded Macro doesn't work when run!
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-24-2014, 11:07 AM
  5. [SOLVED] VBA Formula into Cell: Countif: Why doesn't this work???
    By brucemc777 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-04-2014, 11:39 AM
  6. [SOLVED] formula works in cell but doesn't work in vba
    By maleeny31 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-05-2013, 12:36 AM
  7. Insert formula into a cell doesn't work :S
    By s80NL in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-17-2006, 12: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