Populate a value based on text or characters in another cell

ultracyclist

Active Member
Joined
Oct 6, 2010
Messages
274
Office Version
  1. 365
Platform
  1. Windows
I want to write a formula in column J that does the following actions

1. If there is any text or characters in rows F2:F100, it should populate the value Pending in rows J2:J100
2. If there is any text or characters in rows G2:G100, it should populate the value In Progress in rows J2:J100

Any suggestions would be appreciated

Thanks,
Tom
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Assuming cells would be blank in case there is no text/character
value pending is in column H, value in progress in column I

j2=if(isblank(f2),if(isblank(g2)," ",i2),h2) and so on
 
Upvote 0
Another option
Excel Formula:
=IF(G2<>"","In Progress",IF(F2<>"","Pending",""))
 
Upvote 0
Solution
Another option
Excel Formula:
=IF(G2<>"","In Progress",IF(F2<>"","Pending",""))

Another option
Excel Formula:
=IF(G2<>"","In Progress",IF(F2<>"","Pending",""))
I tried your first suggestion- =IF(G2<>"","In Progress",IF(F2<>"","Pending","")) and it populated Pending as expected when text was in F2.

What I want the formula to do is, if both F2 and G2 are populated it should change the value to "In Progress" If only F2 is populated it should just show Pending.

Hope that helps.
 
Upvote 0
That's what the formula does do.
 
Upvote 0
I found my mistake. I checked again and its working.

Thank you again for your help.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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