Index formula - using two columns to match

Good Day Experts,

I have a MS Excel 2010 workbook (attached) with two speadsheets (Groupdates andGroupMemberCount) in which I wanted to match the totals from GroupMemberCount to Groupdates.  I am using the Index function.  However, the IFERROR does not always remove the #N/A.  Would you know why?  

Also, I searched the two spreadsheet and the groups do show in both spreadsheets and is returning the right number per the match in the total column from one spreadsheet to the other. But for the same group with a different account the number may be different, how can I rewrite the index formula to return the right total based on the account and the group column.

Thanks
Groups-for-Index.xlsx
BeeyenAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Saurabh Singh TeotiaCommented:
Since you are picking number values..You can use another formula to do this.. What the tricky part was since your values in the raw data were different then the original format..you can do something like this to do what you are looking for...

Saurabh...
Groups-for-Index.xlsx
0
BeeyenAuthor Commented:
Good Day Saurabh Singh Teotia

Look good but long.  In your example why aren't the totals picked up for line10, 12, & 13?
0
Saurabh Singh TeotiaCommented:
Perhaps you can do something like this..Now for ones which shows Zero you will see no value for them...

Saurabh...
Groups-for-Index.xlsx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.