If a cell contains any text then add a value

Solved
cbrizz - Aug 22, 2010 at 11:06 PM
 Pharmanumbers - Jun 5, 2019 at 02:02 PM
I hope someone can help me with this...I've done this before but can't remember how.

I have a list of names (for an attendees list) and I need to show an extended total for each
person and the number of guests they will bring. Here's the layout...

B2 is the person's name
C2 is the number of guests they will bring
D2 is the total for that person (including them)

I need a formula that says: If B2 has any text, then add a value of "1" to C2 and enter the total in D2.

Hope that makes sense. Thank you in advance for helping.
Related:
  • Excel add 1 if cell contains text
  • Excel if cell contains any text - Best answers
  • If cell contains any text - Best answers
  • Tentacle locker 1 - Download - Adult games
  • Igi 1 - Download - Shooters
  • Fnia 1 apk - Download - Adult games
  • My cute roommate 1 - Download - Adult games
  • Fnaf 1 apk - Download - Horror

2 responses

venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 811
Aug 24, 2010 at 06:44 AM
I need a formula that says: If B2 has any text, then add a value of "1" to C2 and enter the total in D2. 


why not just the condition that if B2 is not blank

then D2 will have
=if(B2<>"",c2+1,"")


if you insist on condition that if B2 is text then the fomula in D2 is
=if(istext(B2),c2+1,"")
Slightly complicated considering the subject matter..

If there is no Attendee, then there is no guests.. so C2 is always '+1'
issahamameh Posts 22 Registration date Friday October 19, 2012 Status Member Last seen June 22, 2013 1
Mar 18, 2013 at 02:16 PM
Please try this one: (Copy and paste it)
=IF(B2="","",(1+C2))