Trying to create a formula that will change the selected cell's text value

el3ment

New Member
Joined
Jun 14, 2012
Messages
6
Using Windows 7 enterprise and Excel 2007

I have been looking everywhere for the answer to my question with no success.
I am creating an employee training tracker and I am trying to create a formula that will change the selected cell's text value to 'GO' or 'NO-GO' based on input on a provided range of cells.

example. IF(a6:ag6 contains text value of either 'X' or 'N/A')=GO... SET VALUE otherwise should be 'NO-GO'
Thanks for the help

http://s16.postimage.org/vjwa7e38l/assessment.gif
ATTACHED IS A SCREENSHOT :)
 
Last edited:

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Michael M

Well-known Member
Joined
Oct 27, 2005
Messages
20,179
Office Version
  1. 2016
  2. 2013
  3. 2007
Platform
  1. Windows
Hi and welcome to the Board
Code:
=IF(OR(AG6="X", AG6="N/A"),"GO","NO-GO")
 

Michael M

Well-known Member
Joined
Oct 27, 2005
Messages
20,179
Office Version
  1. 2016
  2. 2013
  3. 2007
Platform
  1. Windows
OOps..:oops: sorry, misread the post !!
 

Sal Paradise

Well-known Member
Joined
Oct 23, 2006
Messages
2,457

ADVERTISEMENT

Using Windows 7 enterprise and Excel 2007

I have been looking everywhere for the answer to my question with no success.
I am creating an employee training tracker and I am trying to create a formula that will change the selected cell's text value to 'GO' or 'NO-GO' based on input on a provided range of cells.

example. IF(a6:ag6 contains text value of either 'X' or 'N/A')=GO... SET VALUE otherwise should be 'NO-GO'
Thanks for the help

http://s16.postimage.org/vjwa7e38l/assessment.gif
ATTACHED IS A SCREENSHOT :)

<b>Excel 2003</b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #A6AAB6"><colgroup><col width="25px" style="background-color: #E0E0F0" /><col /><col /><col /><col /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: #E0E0F0;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th><th>D</th><th>E</th><th>F</th><th>G</th><th>H</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">6</td><td style="text-align: right;;">3</td><td style=";">N/A</td><td style="text-align: right;;">2</td><td style="text-align: right;;">3</td><td style="text-align: right;;">2</td><td style=";">X</td><td style=";">X</td><td style=";">GO</td></tr><tr ><td style="color: #161120;text-align: center;">7</td><td style="text-align: right;;">4</td><td style="text-align: right;;">5</td><td style=";">N/A</td><td style="text-align: right;;">7</td><td style="text-align: right;;">6</td><td style=";">X</td><td style="text-align: right;;">1</td><td style=";">GO</td></tr><tr ><td style="color: #161120;text-align: center;">8</td><td style="text-align: right;;">7</td><td style="text-align: right;;">8</td><td style="text-align: right;;">2</td><td style="text-align: right;;">5</td><td style="text-align: right;;">6</td><td style=";">N/A</td><td style="text-align: right;;">6</td><td style=";">GO</td></tr><tr ><td style="color: #161120;text-align: center;">9</td><td style="text-align: right;;">0</td><td style=";">N/A</td><td style="text-align: right;;">5</td><td style="text-align: right;;">3</td><td style=";">N/A</td><td style="text-align: right;;">4</td><td style="text-align: right;;">9</td><td style=";">GO</td></tr><tr ><td style="color: #161120;text-align: center;">10</td><td style="text-align: right;;">0</td><td style="text-align: right;;">9</td><td style=";">X</td><td style=";">X</td><td style="text-align: right;;">4</td><td style="text-align: right;;">9</td><td style=";">N/A</td><td style=";">GO</td></tr><tr ><td style="color: #161120;text-align: center;">11</td><td style="text-align: right;;">6</td><td style="text-align: right;;">4</td><td style="text-align: right;;">7</td><td style="text-align: right;;">6</td><td style=";">X</td><td style="text-align: right;;">5</td><td style="text-align: right;;">9</td><td style=";">GO</td></tr><tr ><td style="color: #161120;text-align: center;">12</td><td style="text-align: right;;">4</td><td style="text-align: right;;">1</td><td style="text-align: right;;">9</td><td style="text-align: right;;">4</td><td style="text-align: right;;">6</td><td style="text-align: right;;">2</td><td style="text-align: right;;">7</td><td style=";">NO GO</td></tr><tr ><td style="color: #161120;text-align: center;">13</td><td style="text-align: right;;">8</td><td style=";">N/A</td><td style="text-align: right;;">4</td><td style="text-align: right;;">2</td><td style="text-align: right;;">6</td><td style="text-align: right;;">0</td><td style="text-align: right;;">3</td><td style=";">GO</td></tr><tr ><td style="color: #161120;text-align: center;">14</td><td style="text-align: right;;">1</td><td style=";">X</td><td style=";">X</td><td style=";">N/A</td><td style="text-align: right;;">3</td><td style=";">X</td><td style=";">X</td><td style=";">GO</td></tr><tr ><td style="color: #161120;text-align: center;">15</td><td style="text-align: right;;">3</td><td style="text-align: right;;">6</td><td style="text-align: right;;">6</td><td style="text-align: right;;">3</td><td style="text-align: right;;">4</td><td style="text-align: right;;">2</td><td style="text-align: right;;">6</td><td style=";">NO GO</td></tr><tr ><td style="color: #161120;text-align: center;">16</td><td style=";">X</td><td style="text-align: right;;">6</td><td style=";">X</td><td style="text-align: right;;">4</td><td style="text-align: right;;">5</td><td style="text-align: right;;">3</td><td style="text-align: right;;">6</td><td style=";">GO</td></tr><tr ><td style="color: #161120;text-align: center;">17</td><td style="text-align: right;;">2</td><td style="text-align: right;;">2</td><td style="text-align: right;;">2</td><td style="text-align: right;;">6</td><td style="text-align: right;;">1</td><td style="text-align: right;;">4</td><td style="text-align: right;;">8</td><td style=";">NO GO</td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #A6AAB6;border-top:none;text-align: center;background-color: #E0E0F0;color: #161120">Sheet3</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: #FFFFFF" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: #FFFFFF;border-collapse: collapse; border-color: #A6AAB6"><thead><tr style=" background-color: #E0E0F0;color: #161120"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">H6</th><td style="text-align:left">=IF(<font color="Blue">COUNTIF(<font color="Red">A6:G6,"X"</font>)+COUNTIF(<font color="Red">A6:G6,"N/A"</font>)>0,"GO","NO GO"</font>)</td></tr></tbody></table></td></tr></table><br />
 

el3ment

New Member
Joined
Jun 14, 2012
Messages
6
Well, what I wanted though is if within that range (a6:ag6) even one cell doesn't have an entry of X or N/A it should apprear as "NO-GO"
 

Sal Paradise

Well-known Member
Joined
Oct 23, 2006
Messages
2,457

ADVERTISEMENT

Well, what I wanted though is if within that range (a6:ag6) even one cell doesn't have an entry of X or N/A it should apprear as "NO-GO"

<b>Excel 2003</b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #A6AAB6"><colgroup><col width="25px" style="background-color: #E0E0F0" /><col /><col /><col /><col /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: #E0E0F0;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th><th>D</th><th>E</th><th>F</th><th>G</th><th>H</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">6</td><td style=";"></td><td style=";">X</td><td style=";"></td><td style=";">N/A</td><td style=";">N/A</td><td style=";">X</td><td style=";">N/A</td><td style=";">NO GO</td></tr><tr ><td style="color: #161120;text-align: center;">7</td><td style=";">X</td><td style=";">N/A</td><td style=";">X</td><td style=";">N/A</td><td style=";">X</td><td style=";">N/A</td><td style=";">X</td><td style=";">GO</td></tr><tr ><td style="color: #161120;text-align: center;">8</td><td style=";"></td><td style=";">N/A</td><td style=";"></td><td style=";">X</td><td style=";">X</td><td style=";"></td><td style=";">X</td><td style=";">NO GO</td></tr><tr ><td style="color: #161120;text-align: center;">9</td><td style=";">X</td><td style=";">N/A</td><td style=";">X</td><td style=";"></td><td style=";">X</td><td style=";"></td><td style=";">N/A</td><td style=";">NO GO</td></tr><tr ><td style="color: #161120;text-align: center;">10</td><td style=";">X</td><td style=";">X</td><td style=";">X</td><td style=";">N/A</td><td style=";">N/A</td><td style=";">N/A</td><td style=";">X</td><td style=";">GO</td></tr><tr ><td style="color: #161120;text-align: center;">11</td><td style=";">X</td><td style=";">X</td><td style=";">N/A</td><td style=";">X</td><td style=";">N/A</td><td style=";">N/A</td><td style=";">N/A</td><td style=";">GO</td></tr><tr ><td style="color: #161120;text-align: center;">12</td><td style=";">X</td><td style=";">N/A</td><td style=";">N/A</td><td style=";">X</td><td style=";">X</td><td style=";">X</td><td style=";">N/A</td><td style=";">GO</td></tr><tr ><td style="color: #161120;text-align: center;">13</td><td style=";">N/A</td><td style=";">X</td><td style=";">X</td><td style=";">X</td><td style=";">X</td><td style=";">X</td><td style=";">N/A</td><td style=";">GO</td></tr><tr ><td style="color: #161120;text-align: center;">14</td><td style=";">N/A</td><td style=";">X</td><td style=";">N/A</td><td style=";">N/A</td><td style=";">N/A</td><td style=";">N/A</td><td style=";">X</td><td style=";">GO</td></tr><tr ><td style="color: #161120;text-align: center;">15</td><td style=";">X</td><td style=";">X</td><td style=";">N/A</td><td style=";">X</td><td style=";">N/A</td><td style=";">N/A</td><td style=";">X</td><td style=";">GO</td></tr><tr ><td style="color: #161120;text-align: center;">16</td><td style=";">N/A</td><td style=";"></td><td style=";">X</td><td style=";">N/A</td><td style=";">N/A</td><td style=";">N/A</td><td style=";">X</td><td style=";">NO GO</td></tr><tr ><td style="color: #161120;text-align: center;">17</td><td style=";"></td><td style=";">X</td><td style=";"></td><td style=";">X</td><td style=";">X</td><td style=";">N/A</td><td style=";"></td><td style=";">NO GO</td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #A6AAB6;border-top:none;text-align: center;background-color: #E0E0F0;color: #161120">Sheet3</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: #FFFFFF" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: #FFFFFF;border-collapse: collapse; border-color: #A6AAB6"><thead><tr style=" background-color: #E0E0F0;color: #161120"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">H6</th><td style="text-align:left">=IF(<font color="Blue">COUNTIF(<font color="Red">A6:G6,"X"</font>)+COUNTIF(<font color="Red">A6:G6,"N/A"</font>)=COUNTA(<font color="Red">A6:G6</font>),"GO","NO GO"</font>)</td></tr></tbody></table></td></tr></table><br />
 

Watch MrExcel Video

Forum statistics

Threads
1,130,051
Messages
5,639,773
Members
417,112
Latest member
PachRedoc

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