+ Reply to Thread
Results 1 to 3 of 3

Create formula

Hybrid View

  1. #1
    Leo
    Guest

    Create formula

    Formula :
    =IF(B3=0,0,INDEX(data1,B3+1,MATCH($B$2,data2,0)))+IF(C3=0,0,INDEX(data1,C3+1,MATCH($C$2,data2,0)))+
    .......+IF(N3=0,0,INDEX(data1,N3+1,MATCH($N$2,data2,0)))
    where data1 and data2 areas from aux table.

    Works fine ... , but very long ..

    Does it possible to create shorter formula ( may be array) without
    "+"'s
    and based on range B3:N3 ?

    Thanks for help


  2. #2
    Ola
    Guest

    RE: Create formula

    See if this could work:
    =SUMPRODUCT(--(B3:N3<>0),INDEX(data1,B3:N3+1,MATCH($B$2,data2,0)))

    Ola Sandstrom


  3. #3
    Leo
    Guest

    Re: Create formula

    Thanks for reply , but unfortunately it doesn't work .
    I think the problem is here : MATCH($B$2,data2,0)

    it must scroll from $B$2 to $N$2 ,but it wont's work under MATCH ...
    Regards, Leo


+ 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