After Importing, how to match and count?

San Antonio Heat

Active Member
Joined
Oct 10, 2003
Messages
333
Office Version
  1. 2019
Platform
  1. Windows
This is part of a project I am working on and I can't figure this part out. I import some data from a web site. It's the schedules from our leagues football games. There are games that have a (R) and games that have (T) and some have neither a R or a T. I'd like to find some simple code to search and count the number of Wins for R and Wins for T and losses for R and Losses for T. Here are 2 picture examples.

The code would be in B1, B2, B4, and B5.
http://www.nflfever2.com/FantasyFootball/excel11.1.jpg

It would get the data from Cell B10 - B200 and it would look for (R) and (T). There will be more than 1 (R) and (T). If it finds an (R) it then looks to the cell to the right in column C and finds out if it's a win or a loss and adds them up.
http://www.nflfever2.com/FantasyFootball/excel11.1.jpg

So the results if done right would look like so
http://www.nflfever2.com/FantasyFootball/excel11.3.jpg

If someone doesn't mind helping, I sure appreciate it and so would a numerous amount of people once the things is completed. It's going to be a huge rankings for 288 teams. Thanks
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,224,502
Messages
6,179,126
Members
452,890
Latest member
Nikhil Ramesh

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