Using IF function to return to the cell

Fankykwong93

New Member
Joined
Jan 10, 2018
Messages
1
Hi, can I use the IF function to return to a cell?

For example, A1=ABC, A2=ABC, A3=XYZ, A4=DEF.

I want to know does it repeated by using IF Function.

In the cell B1, I input the formular as if it’s repeated, it will return “Repeated”, if it not, it will returned to the cell “A1”. And in the cell B2, if it not repeated, it will return to “A2” and so on.

Please give me a guide, thank you.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Hi, welcome to the forum!

Do you mean like this?


Excel 2013/2016
ABCD
1ABCABCXYZDEF
2RepeatedRepeatedXYZDEF
Sheet1
Cell Formulas
RangeFormula
A2=IF(COUNTIFS($A$1:$D$1,A1)>1,"Repeated",A1)
 
Upvote 0
you mean something like this?


Excel 2013/2016
ABCD
1ABCABCXYZDEF
2RepeatedABCXYZDEF
Sheet3
Cell Formulas
RangeFormula
A2=IF(A1=B1,"Repeated",A1)
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,552
Members
449,088
Latest member
davidcom

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