• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Using Defined Name in a SUMPRODUCT

rico90210

New Member
Hi XL users,

I am trying to evaluate a simple SUMPRODUCT between 2 rows. But one of the row contains an array of Defined Names (each one being linked to a single numeric value). I have used the INDIRECT function to recall the numbers related to the Defined Names but I understand that INDIRECT is not managing well this array and thus the SUMPRODUCT return an error.
= SUMPRODUCT (A1:C1 , INDIRECT ("A2:C2"))

where A2:C2 contains respectively {EUR,GBP,USD} names defined as exchange rate of the day (single numeric value in name manager).

Any idea ?
 
Rico

can you post a sample file and a sample of what you expected?
 
Yes sure.

As the result of the formula I would expect to have:
1.13*10+1.46*20+1.00*50=90.5
 

Attachments

  • Exple.xlsx
    9.3 KB · Views: 9
Hi ,

As your list of currencies grows , it may be cumbersome to define each currency ; in this situation , you can make use of the technique given in the attached file.

Narayan
 

Attachments

  • Exple 2.xlsx
    9.8 KB · Views: 17
Back
Top