+ Reply to Thread
Results 1 to 2 of 2

referencing one column in a formula and changing it.

  1. #1
    Registered User
    Join Date
    07-18-2010
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    1

    Question referencing one column in a formula and changing it.

    I am having sum of numbers(of various sheets) in each cell from AA1 to AM100
    from BA10 to BM110 having the 10cell averages of AA1 to AM100
    like BA10 having formula =average(AA1:AA10)
    similarly into other cells BA10-BM110 having averages of AA1-AM100
    in A10 to M110 cells having if formula
    like M110 having =if(BM110>150,"OK","NOT")
    everytime cell number increases this sheet having very labour and if there is any simplifying methods to reducing cell quantity and formula cells quantity please mention.


    I am imagining how it should be better to look good and work good.
    the cells AA1 to AM100 having numbers. It is necessary
    in B column the average of one column and in A column if-condition for the depending column AA

    in C1 column I write AA
    first time it shows the results for AA column
    like in B10 cell average of AA1:AA10 and in A10 cell OK or NOT
    when I change C1 column as AB
    then the B column and A column shows results depending on the AB column
    like in B10 cell average of AB1:AB10 and in A10 cell OK or NOT
    .......................Any formulas or suggestions for this work sheet by reducing burden and simple methods please mention.
    Last edited by eguru; 07-18-2010 at 12:53 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    06-17-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2003,excel 2007
    Posts
    678

    Re: referencing one column in a formula and changing it.

    data is there from AA1 to AM10(all numbers)

    now you type AA in C1

    I do not understand you talk about B10 etc
    But I am giving an alternate scenario
    because you have entered AA in C1
    in B1 copy this formula

    =AVERAGE(INDIRECT(INDIRECT("c1")&1):INDIRECT(INDIRECT("c1")&10))

    you will get the average of AA1 to AA10

    now if you change the entry in C1 to AB then
    in B1 you will get the average of AB1 to AB10
    so you change C1 value corresponding column average will be in B1.

    now study this and clarify B10 ,A10 ,"OK" and "NOT" etc.

    If you yourself arrive at a solution on the basis of my formula it is ok.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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