+ Reply to Thread
Results 1 to 2 of 2

Looking at several columns with Indirect

  1. #1
    Registered User
    Join Date
    02-08-2006
    Posts
    6

    Unhappy Looking at several columns with Indirect

    Im currently using the formula

    =INDIRECT("$BA"&ROW())

    which is named DataColumn. However, I need to use it to look at columns BA through BE, and still be within the name of DataColumn. The whole formula that DataColumn is nested in is

    =IF($R$4>=ThisMonth,IF(ISERROR(DSUM(HB_VE_DataSet,DataColumn,AusCriteria)),0,DSUM(HB_VE_DataSet,DataColumn,AusCriteria)),0)


    Everything works fine, but I recently figured out that there are values I need in the columns BA through BE, and not just BA like I initially thought. How can I get it to look at all 5 columns?

  2. #2
    Bob Tarburton
    Guest

    Re: Looking at several columns with Indirect

    try using sumproduct, explained here
    http://www.xldynamic.com/source/xld.SUMPRODUCT.html

    not enough info in your post for me to figure out your conditions for
    expanding the range.

    "Toon" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Im currently using the formula
    >
    > =INDIRECT("$BA"&ROW())
    >
    > which is named DataColumn. However, I need to use it to look at columns
    > BA through BE, and still be within the name of DataColumn. The whole
    > formula that DataColumn is nested in is
    >
    > =IF($R$4>=ThisMonth,IF(ISERROR(DSUM(HB_VE_DataSet,DataColumn,AusCriteria)),0,DSUM(HB_VE_DataSet,DataColumn,AusCriteria)),0)
    >
    >
    > Everything works fine, but I recently figured out that there are values
    > I need in the columns BA through BE, and not just BA like I initially
    > thought. How can I get it to look at all 5 columns?
    >
    >
    > --
    > Toon
    > ------------------------------------------------------------------------
    > Toon's Profile:
    > http://www.excelforum.com/member.php...o&userid=31337
    > View this thread: http://www.excelforum.com/showthread...hreadid=510169
    >




+ 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