Wildcard in formula

irenesboy

Board Regular
Joined
May 28, 2004
Messages
90
I have a column of 3 letter team abbrevations (there are 32 teams)
In some of the cells there will be a fourth letter added (O or U).
In another cell in the same row (IF there is a fourth letter added O or U) I would like to add the two cells that hold the team team scores and insert the result in that cell.
I would like to be able to copy the formula down the column and have the cells that do not have a (fourth letter) result be blank.
I am not to good at writing what I would like to do so I hope somebody can understand my question.
I would appreciate any help.
irenesboy
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

yee388

Well-known Member
Joined
Mar 7, 2004
Messages
1,374
=IF(LEN(A1)=4,B1+C1,"")

Where A1 has the team abbreviation, B1 & C1 have team scores.

Helpful?
 

texasalynn

Well-known Member
Joined
May 19, 2002
Messages
8,458
Yes sometimes describing the problem is difficult. That's where using the Colo utility found at the bottom of this page allows you to make a picture sample of what you have and what you want.

So could you post a small sample?
 

irenesboy

Board Regular
Joined
May 28, 2004
Messages
90
Hi yee 388
It sure is simple when you know how.
Thanks a lot works like I wanted it to.
irenesboy
 

Forum statistics

Threads
1,136,616
Messages
5,676,838
Members
419,653
Latest member
analyticalchemist94

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
Top