简体   繁体   中英

Mirror Cell Excel with If Term

I want to mirror eg cell B2 to C2 only when it say #T1 at the beginning. For example I'd like to mirror B2 to C2 when it says "#T1 Global" but not when it only says "Global".

Enter the following formula in cell C2 ...

=IF(LEFT(B2,3)="#T1",B2,"")

And here is another formula to do the exact same thing...

=REPT(B2,LEFT(B2,3)="#T1")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM