Got a headache trying to figure this one.

dsims

New Member
Joined
Jul 27, 2023
Messages
21
Office Version
  1. 365
Platform
  1. Windows
Ok so i did some data grabbing and I got one page that's full of data. I'm trying to pull data to one sheet based off two criteria. So if you use vlookup i can pull data based off one cell. In this case for example: (a1) apples (b2) red ..now based off my data grabbing there is a lot of apples and many different red but only row has apple then red on the same row ..by using these 2 as reference to pull the number of red apples...sry if this is confusing.
 
This would work but on the LHPRHP page is a schedule and changes based off who is playing for the day. Trying to automate as much as I can.
Excuse where i wrote dodgers meant Nationals
 
Upvote 0

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
I understand. We are now just trying to do a "test" to debug it. We aren't going to leave things hard-coded.
Basically, "N/A" means it is not finding any matches. So, I am asking you, are you sure there really is a match for row 2?

If the screen prints are accurate for this point in time right now, please do exactly as I asked in the previous post.
That should help identify if there is a problem and what it might be.

This is how we "debug". Unless you can upload the file to a file sharing site and share it with us, I need you to work with me here and be sure to follow all instructions and answer all my questions.
 
Upvote 0
1691538158170.png


This would suggest that you are using Google Sheets, not Excel. Is that the case? If so, your question is in the wrong forum.
 
Upvote 0
I understand. We are now just trying to do a "test" to debug it. We aren't going to leave things hard-coded.
Basically, "N/A" means it is not finding any matches. So, I am asking you, are you sure there really is a match for row 2?

If the screen prints are accurate for this point in time right now, please do exactly as I asked in the previous post.
That should help identify if there is a problem and what it might be.

This is how we "debug". Unless you can upload the file to a file sharing site and share it with us, I need you to work with me here and be sure to follow all instructions and answer all my questions.

View attachment 96848

This would suggest that you are using Google Sheets, not Excel. Is that the case? If so, your question is in the wrong forum.
It says Google sheets on this app.. was thinking they was the same?
 
Upvote 0
It says Google sheets on this app.. was thinking they was the same?
Joe4.. he said im on the wrong forum. Just asked my wife and she said excel isn't the same as Google sheets. Apologies
 
Upvote 0
Thank you Peter_SSs
No problem, though I think that you should edit your Account details to remove Office 365 as your version since apparently it is not. ;)

1691540326697.png



BTW, did you ever try the suggestion that I made way back in post #3? From what I can see it may possibly do the job.
Here is may sample data and results using that formula structure. Is this what you want?

dsims.xlsm
ABCD
2402
2403Marlins0.28
2404MarlinsL0.3
2405MarlinsR0.2
2406Marlins0.455
2407Marlins0.33
2408Marlins0.28
2409
2410
2411
2412
2413Nationals0.259
2414NationalsL0.279
2415NationalsR0.25
2416Nationals0.264
2417Nationals0.255
2418Nationals0.25
2419
Splits


dsims.xlsm
ABCDE
1AwayAway PAway Batting avg
2NationalsR0.25
3MarlinsL0.3
LHPRHP
Cell Formulas
RangeFormula
E2:E3E2=SUMIFS(Splits!D$1:D$3000,Splits!A$1:A$3000,A2,Splits!B$1:B$3000,C2)
 
Upvote 0
Solution
No problem, though I think that you should edit your Account details to remove Office 365 as your version since apparently it is not. ;)

View attachment 96849


BTW, did you ever try the suggestion that I made way back in post #3? From what I can see it may possibly do the job.
Here is may sample data and results using that formula structure. Is this what you want?

dsims.xlsm
ABCD
2402
2403Marlins0.28
2404MarlinsL0.3
2405MarlinsR0.2
2406Marlins0.455
2407Marlins0.33
2408Marlins0.28
2409
2410
2411
2412
2413Nationals0.259
2414NationalsL0.279
2415NationalsR0.25
2416Nationals0.264
2417Nationals0.255
2418Nationals0.25
2419
Splits


dsims.xlsm
ABCDE
1AwayAway PAway Batting avg
2NationalsR0.25
3MarlinsL0.3
LHPRHP
Cell Formulas
RangeFormula
E2:E3E2=SUMIFS(Splits!D$1:D$3000,Splits!A$1:A$3000,A2,Splits!B$1:B$3000,C2)
I tried every one of them.
 
Upvote 0
So in post 28 what have I got wrong with my sample data or layout?
For may sample data are my results correct or not?
 
Upvote 0

Forum statistics

Threads
1,224,919
Messages
6,181,755
Members
453,064
Latest member
robatthe2A

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top