Value or Text formula

CARBOB

Well-known Member
Joined
Jun 6, 2005
Messages
1,870
Does the formula in col BQ return text or values? If returning text, I need a formula to return values. Thanks!







GaMID Play 4 FOLLOWERS CODE 4 TEST.xlsx
BJBKBLBMBNBOBPBQ
19P1P2P3P4TYPECODE 4SDTCBOX
2023023+22302D0223
2132023+23202D0223
2204213+20421C0124
Pick4Rogue
Cell Formulas
RangeFormula
BJ20:BJ22BJ20=IF($BI20="","",VALUE(MID(TEXT($BI20,"0000"),1,1)))
BK20:BK22BK20=IF($BI20="","",VALUE(MID(TEXT($BI20,"0000"),2,1)))
BL20:BL22BL20=IF($BI20="","",VALUE(MID(TEXT($BI20,"0000"),3,1)))
BM20:BM22BM20=IF($BI20="","",VALUE(MID(TEXT($BI20,"0000"),4,1)))
BN20:BN22BN20=LOOKUP(MMULT(LARGE(FREQUENCY(BJ20:BM20,J20:M20),{1,2}),{2;1}),{3,5,6,7,8,9,10},{"S","D","2+2","T","3+2","Q","P"})
BO20:BO22BO20=BJ20&BK20&BL20&BM20
BP20:BP22BP20=IF(OR(AND(ISNUMBER(MATCH({0,1,9},MID($BO20,{1,2,3,4},1)+0,0))),AND(ISNUMBER(MATCH(MIN(MID($BO20,{1,2,3,4},1)+0)+{0,1,2},MID($BO20,{1,2,3,4},1)+0,0)))),"C",INDEX({"S","D","T","Q"},MAX(FREQUENCY(MID($BO20,{1,2,3,4},1)+0,MID($BO20,{1,2,3,4},1)+0))))
BQ20:BQ22BQ20=SMALL($BJ20:$BM20,1)&SMALL($BJ20:$BM20,2)&SMALL($BJ20:$BM20,3)&SMALL($BJ20:$BM20,4)
Press CTRL+SHIFT+ENTER to enter array formulas surrounded with curly braces.
Cells with Conditional Formatting
CellConditionCell FormatStop If True
BQ20:BQ3062Cell Value="C"textNO
BQ20:BQ3062Cell Value="S"textNO
BP20:BP10031Cell Value="C"textNO
BP20:BP10031Cell Value="S"textNO
BP19,BN20:BN10031Cell Value="C"textNO
BP19,BN20:BN10031Cell Value="S"textNO
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
It will be a text value, to convert it to a number simply add 0 to it, however you will then loose the leading 0.
=(SMALL($BJ20:$BM20,1)&SMALL($BJ20:$BM20,2)&SMALL($BJ20:$BM20,3)&SMALL($BJ20:$BM20,4))+0
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,016
Messages
6,122,700
Members
449,092
Latest member
snoom82

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