Bingo Board Formula

KiwiNan

New Member
Joined
Jun 11, 2023
Messages
4
Office Version
  1. 2016
Platform
  1. Windows
Hi Im new here so looking for some help?

I have column of numbers 1-90 & 2 full playing cards for the bingo game - all i want to do is highlight a number in my column and it will highlight the numbers on my bingo cards - any help?

Thanks
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
you will need VBA to do that and colour a cell based on the fill colour , as far as i know - maybe wrong

can you just put say a CROSS next to the numbers called ??

and USE
=COUNTIFS($A$2:$A$91,D2,$B$2:$B$91,"X")>0

Book5
ABCDEFGHIJKLMN
1NumbersCalledCard1card2
21110204060211214161
32330708090431718189
432468735798
5421222324252223242526
659111334551012143556
76
87
98
109
1110
1211x
1312
1413
1514x
1615
1716
1817
1918
2019x
2120
2221
Sheet1
Cell Formulas
RangeFormula
J2:N2,J4:N6,J3:M3J2=D2+1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D2:N6Expression=COUNTIFS($A$2:$A$91,D2,$B$2:$B$91,"X")>0textYES
 
Upvote 0
you will need VBA to do that and colour a cell based on the fill colour , as far as i know - maybe wrong

can you just put say a CROSS next to the numbers called ??

and USE
=COUNTIFS($A$2:$A$91,D2,$B$2:$B$91,"X")>0

Book5
ABCDEFGHIJKLMN
1NumbersCalledCard1card2
21110204060211214161
32330708090431718189
432468735798
5421222324252223242526
659111334551012143556
76
87
98
109
1110
1211x
1312
1413
1514x
1615
1716
1817
1918
2019x
2120
2221
Sheet1
Cell Formulas
RangeFormula
J2:N2,J4:N6,J3:M3J2=D2+1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D2:N6Expression=COUNTIFS($A$2:$A$91,D2,$B$2:$B$91,"X")>0textYES
thanks i will give it a go
 
Upvote 0
thanks i will give it a go
I found this code to highlight a cell by right clicking on it.. and I can use the left click to clear it

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Cancel = True
Target.Interior.ColorIndex = 2
End Sub

Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As Boolean)
Cancel = True
Target.Interior.ColorIndex = 3
End Sub
 
Upvote 0
ok, glad its solved , I dont provide VBA solutions on the forum,
 
Upvote 0
I found this code to highlight a cell by right clicking on it.. and I can use the left click to clear it

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Cancel = True
Target.Interior.ColorIndex = 2
End Sub

Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As Boolean)
Cancel = True
Target.Interior.ColorIndex = 3
End Sub
How can i change this so when i right click on the cell it will bring up "X"?
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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