+ Reply to Thread
Results 1 to 4 of 4

INDIRECT Function wont work in this case?

  1. #1
    Registered User
    Join Date
    10-28-2014
    Location
    Jakarta
    MS-Off Ver
    2010
    Posts
    2

    INDIRECT Function wont work in this case?

    I need to calculating percentage used of raw materials, formula shows below

    My raw material is a sheet with origin dimension 1000x1000 mm2
    the usage of material only 200x200 mm2

    so my formula written below:

    A1
    =(200*200)/(1000*1000)

    Printed
    =0.04

    the problem is when printed results only

    So I make formula

    A1 B1 C1
    =200*200 =1000*1000 =A1/B1

    Printed
    A1 B1 C1
    40000 1000000 0.04


    what i want in efficiently:
    A1 B1 C1
    200*200 1000*1000 =INDIRECT(A1/B1)

    Printed:
    A1 B1 C1
    200*200 1000*1000 #REF!

    See, A1 and B1 is without equation.


    how to correct indirect function above so the printed will show below:
    A1 B1 C1
    200*200 1000*1000 0.04


    thanks in advance.
    Last edited by andretigana; 09-30-2016 at 09:56 PM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,735

    Re: INDIRECT Function wont work in this case?

    You don't use indirect like that. It is used to convert a text string which represents an Excel reference into the actual reference, but the result (of 0.04) is not a valid Excel reference. I'm not sure why you think you need to use the INDIRECT function for this - what is wrong with =A1/B1 in C1 ?

    Pete

  3. #3
    Registered User
    Join Date
    10-28-2014
    Location
    Jakarta
    MS-Off Ver
    2010
    Posts
    2

    Re: INDIRECT Function wont work in this case?

    thanks for reply pete,

    the function is for Dynanic function, =A1/B2 cant show what is calculated in printed because A1 is also not visible by reader.

    I use Excel table, but adding more column is not efficient example E1 = (A1*B1)/(C1*D1).

    Messy, to much column.

    sometimes in work or business proposal, when dimension change i forgot to change the formula

    i will forget change the data inside a formula if writing Arithmetic directly.

    Instead of INDIRECT, what function can help this?

    A1
    1+2 without equation in beginning

    or
    A1
    '1+2

    B1
    =INDIRECT(A1)

    #REF!

    what I want

    B1
    3

    Andre
    Last edited by andretigana; 09-30-2016 at 09:59 PM.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: INDIRECT Function wont work in this case?

    If I understand correctly the following formula will do what you want, display 1+2=3, providing that each factor is in a separate cell, (after all Excel provides 16,000+ columns) i.e. 1 is in A1 and 2 is in B1:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Same would be true for displaying (200*200)/(1000*1000)=0.04.
    Place 200 in A2, 1000 in B2 and use the following formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Let me know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] Expert Required: VLOOKUP + SUM Function (SUMIf wont work)
    By newtotheblock in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 01-20-2015, 12:11 PM
  2. TRIM function WONT WORK
    By danallamas in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-28-2014, 12:11 AM
  3. Vlookup value wont work with match function
    By john dalton in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-25-2013, 09:36 AM
  4. AverageIF function.. wont work for me!?
    By Daniel86 in forum Excel General
    Replies: 11
    Last Post: 07-16-2012, 10:02 AM
  5. TODAY Function wont seem to work
    By Sanecrazy in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 03-21-2012, 08:09 AM
  6. sum function wont work in my worksheet
    By mufan in forum Excel General
    Replies: 2
    Last Post: 06-05-2009, 07:48 AM
  7. Function wont work!?
    By Jonas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-06-2006, 12:30 PM

Tags for this Thread

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