Hello:
I don't think this is a partcularly difficult problem; however, I need the assistance of someone who is familiar with the "IF" function. What I want to do is use the RANDBETWEEN function to select random numbers; however, when those numbers are displayed I want them to be displayed in a color coded format. Let me explain and give you an example:
Let's say that I have the following numbers randomly selected:
7, 9, 14, 18, 21, 25, 35
What I want to do is pre-assign a color to all the numbers in the range that I specify for the RANDBETWEEN function. Let's say that I am randomly selecting numbers between 1-46. And for the numbers that are displayed above the I would have set it up so that certain numbers show up in blue and other numbers in red, e.g.,
If 7 then blue (When the #7 is displayed the cell color will be blue)
If 9 then blue (When the #9 is displayed the cell color will be blue)
If 14 then red (When the #14 is displayed the cell color will be red)
If 18 then blue (When the #18 is displayed the cell color will be blue)
If 21 then red (When the #21 is displayed the cell will be red)
If 25 then red (When the #25 is displayed the cell will be red)
If 35 then blue (When the #35 is displayed the cell will be blue)
I want to assign all the numbers in the range that I specify a specific color and when that number is randomly selected I want it to display that color, along with the number randomly selected, in that cell.
If you could help me out on this one I will be eternally grateful.
Jaime
I don't think this is a partcularly difficult problem; however, I need the assistance of someone who is familiar with the "IF" function. What I want to do is use the RANDBETWEEN function to select random numbers; however, when those numbers are displayed I want them to be displayed in a color coded format. Let me explain and give you an example:
Let's say that I have the following numbers randomly selected:
7, 9, 14, 18, 21, 25, 35
What I want to do is pre-assign a color to all the numbers in the range that I specify for the RANDBETWEEN function. Let's say that I am randomly selecting numbers between 1-46. And for the numbers that are displayed above the I would have set it up so that certain numbers show up in blue and other numbers in red, e.g.,
If 7 then blue (When the #7 is displayed the cell color will be blue)
If 9 then blue (When the #9 is displayed the cell color will be blue)
If 14 then red (When the #14 is displayed the cell color will be red)
If 18 then blue (When the #18 is displayed the cell color will be blue)
If 21 then red (When the #21 is displayed the cell will be red)
If 25 then red (When the #25 is displayed the cell will be red)
If 35 then blue (When the #35 is displayed the cell will be blue)
I want to assign all the numbers in the range that I specify a specific color and when that number is randomly selected I want it to display that color, along with the number randomly selected, in that cell.
If you could help me out on this one I will be eternally grateful.
Jaime