0

I have multiple rows 34 columns wide with a reference Designator(RefDes) in each one that correlates to a value. I am trying to find a way to match each RefDes to its value and sum those together without the use of a helper cell for each column to give each row a total value.

My current formula will work with a helper cell but that adds 34 more columns and makes it very messy and hard to read.

=INDEX(FullFlow2[[Category Times]:[Category Times]],MATCH(N4,FullFlow2[[REFDES]:[REFDES]]))

Followed by a =sumproduct()in another column to collect the values.

Not sure if this is something I will need to use VBA for or if I can make it work without it.

This is the RefDesTable below RefDesTable

This is the FullFlow2 Table below

FullFlow2Table

2
  • 1
    Please provide a visual representation of the data and expected output. It makes it easier to understand the question. Commented Jan 6, 2021 at 17:03
  • Pictures have been added, thank you! New user learning how to ask questions better so I appreciate the guidance! Commented Jan 6, 2021 at 17:11

1 Answer 1

1

Use SUMIFS wrapped in a SUMPRODUCT:

=SUMPRODUCT(SUMIFS(FullFlow2[[Category Times]:[Category Times]],FullFlow2[[REFDES]:[REFDES]],YourFirstTableName[1st]))

Replace YourFirstTableName with the correct name for the table.

Sign up to request clarification or add additional context in comments.

2 Comments

Ahh, You wanted by row, I assumed column. Good job changing to your need.
Got it work perfectly! Thank you, needed to go across the row though so I changed that a bit. Here is what I ended up using. =SUMPRODUCT(SUMIFS(FullFlow2[[Category Times]:[Category Times]],FullFlow2[[REFDES]:[REFDES]],FullSNList__FBD[@[1st]:[34th]])) Thank you for your help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.