#1   Report Post  
Leo
 
Posts: n/a
Default 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,data 2,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   Report Post  
Ola
 
Posts: n/a
Default

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

Ola Sandstrom

  #3   Report Post  
Leo
 
Posts: n/a
Default

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a formula in Excel LWS Excel Worksheet Functions 6 December 31st 04 09:25 PM
Create a formula that determines a date-sensitive File-Name from w stan-the-man Excel Worksheet Functions 0 November 17th 04 03:39 PM
How do I create a formula in Excel that will countif or sumif bef. bkclark Excel Worksheet Functions 4 November 10th 04 05:30 PM
How do I create a formula that will multiply a 5% of a value >$150 babydear12 Excel Worksheet Functions 2 October 29th 04 01:00 AM
Please help create a formula JuliaC Excel Worksheet Functions 3 October 27th 04 11:12 PM


All times are GMT +1. The time now is 07:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"