25
Excel Formulas to Check the Conditional Message with REPT Function!!
Normally we can use the IF function to check the condition and do some actions based on the result. But without this function how can you check the conditions. Are there any effective ways for solving this problem? In this article, we will show the simple tricks that help to check the criteria and display the conditional message in Excel by using the REPT function. Get an official version of ** MS Excel** from the following link: https://www.microsoft.com/en-in/microsoft-365/excel
- If you want to display a conditional message in Excel, you can use the below formula based on REPT function.
=REPT(“message”,logical test)
- REPT – In Excel, the REPT function helps to repeat characters a given number of times.
- Logical Test – It specifies the condition that you need to check.
- Message – It represents the conditional message to be displayed.
- Comma symbol (,) – It is a separator that helps to separate a list of values.
- Parenthesis () – The main purpose of this symbol is to group the elements.
Refer to the below example image.
- Here, we will enter the input values in Column B and Column C.
- Now we need to check the certain condition and display the message.
- Select any cell and type the above-given formula.
- Finally, press ENTER to get the result out, if you need, drag the fill handle over range to apply the formula.
So yeah guys this is the simple and easy method to display a conditional message in Excel by using the REPT function. I hope that this article is useful to you. If you have any doubts regarding this topic or any other Excel VBA-related topic, ask in the comments section below.
Thank you so much for visiting *Geek Excel!! **If you want to learn more helpful formulas, check out Excel Formulas *!! **
25