+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Formula cell references

  1. #1
    Registered User
    Join Date
    12-21-2006
    Posts
    32

    Formula cell references

    Is there a way to have a formulas cell reference based on what I input in anther cell. I have a lot of formulas with similar cell references so I can update them all by just changing the cell references in one cell or a couple cells.

    If I had a formula ... =COUNTIF($C5:$H5,">=1") ... in cell AI4

    Could I put in cell A1 the reference $C5:$H5. I have multiple rows with the same $C#:$H#
    I'm hoping that if I want to change to say $C#:$J# I can do it easily. This keeps all my forumulas the same from week to week when I have to update.

    I'm using Excel 2007

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Formula cell references

    Hi Kevsvette,

    Try using

    =COUNTIF(INDIRECT(A1),">=1")

    You can then change the range in A1 to other ranges and your results will update accordingly.

  3. #3
    Registered User
    Join Date
    12-21-2006
    Posts
    32

    Re: Formula cell references

    That would work except that I have over 100 rows with the same formula using columns C:H as the reference data. If I use indirect for a cell range c1:h1 it would work for the first row but point to the wrong row for all the others.

    I was hoping to not have to use find & replace.

  4. #4
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Formula cell references

    Try posting an example workbook and let us know what cells need to change and why.

  5. #5
    Registered User
    Join Date
    12-21-2006
    Posts
    32

    Re: Formula cell references

    If you have any questions don't hesitate to ask, I tried to explain in the text box, but I think I failed miserably. LOL

    Any help would be appreciated.
    Attached Files Attached Files

+ 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