Make it mark "V" if found mark "X"

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,077
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hi all..

how to make formula to determine mark "V" (checklist) if in a range e.g range D3:I6 found mark "x"
my "x" in always in different position cell (random)
like this layout :
givengivengivengivengivengiven
xtest1test5test9
test2test6test10
test3test7test11
test4test8test12

<tbody>
</tbody>


any help, greatly appreciated

.sst
 
Last edited:

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
You could use a helper column

Excel 2016 (Windows) 32 bit
D
E
F
G
H
I
J
K
L
M
N
1
formula in J3 copied down formula in N2
2
givengivengivengivengivengivenHELPERmy textmy text is found =IF(SUM(J:J)>0,L2&" is found","not found")
3
my texttest1test5test9
1​
=COUNTIF(D3:I3,L2)
4
test2test6test10
0​
5
test3test7test11
0​
6
test4test8test12
0​
Sheet: Sheet4

Excel 2016 (Windows) 32 bit
D
E
F
G
H
I
J
K
L
M
N
1
formula in J3 copied down formula in N2
2
givengivengivengivengivengivenHELPERthis textnot found =IF(SUM(J:J)>0,L2&" is found","not found")
3
my texttest1test5test9
0​
=COUNTIF(D3:I3,L2)
4
test2test6test10
0​
5
test3test7test11
0​
6
test4test8test12
0​
Sheet: Sheet4
 
Last edited:
Upvote 0
sorry, i missing it...
i try like this =if(range,="X";then change with "V")

note:
range e.g. D3:I6 not in single cell
 
Last edited:
Upvote 0
You can place a formula in cell D3 and say
IF "X" is found in E3:I6, then D3 is "Y", else D3 is "X")

BUT you cannot REPLACE the value in a cell in the way you want - the ONLY way to do that would be to use VBA
 
Upvote 0

Forum statistics

Threads
1,214,630
Messages
6,120,634
Members
448,973
Latest member
ChristineC

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