+ Reply to Thread
Results 1 to 5 of 5

if text in range then count as 0 to finsh calculation

  1. #1
    Registered User
    Join Date
    11-06-2013
    Location
    San Jose, California
    MS-Off Ver
    Excel 2010
    Posts
    36

    if text in range then count as 0 to finsh calculation

    Hi i am trying to add c23+c23 then total in D23 but the issue with my sheet is that everything in C is sq yds and in D is sq ft, so i need to convert sq yd to sq ft to get an accurate count

    so i used this formula =(C23*9)+D23 this works fine until there is text in any of the cells
    so then i tried =CONVERT(CONVERT(C12,"yd","ft"),"yd","ft")+D12
    and this =IF(ISTEXT(C18:D18),"0","")*(C18*9)+D18
    But still cant get the formula to count properly because of the text alwatys get #value error

    any help on this would be great dont know if it would be better with vba or not

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: if text in range then count as 0 to finsh calculation

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Make sure your desired results are shown, mock them up manually if necessary.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    11-06-2013
    Location
    San Jose, California
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: if text in range then count as 0 to finsh calculation

    test-yds-ft.xlsx

    i have attached test file with data which is correct and wrong thanks for looking at this for me

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: if text in range then count as 0 to finsh calculation

    Try this.....

    In E4
    Please Login or Register  to view this content.
    and copy down.

    Does this help?

  5. #5
    Registered User
    Join Date
    11-06-2013
    Location
    San Jose, California
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: if text in range then count as 0 to finsh calculation

    @ Sktneer this works great i really appreciate your help thank you

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Count if contains text and within range
    By rkemmerich in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-27-2014, 11:20 AM
  2. Replies: 6
    Last Post: 08-23-2013, 07:56 AM
  3. [SOLVED] Count occurrences of text in a range
    By braydon16 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-18-2013, 08:33 PM
  4. Count group of text in a range - Help
    By user864V in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-17-2007, 12:38 PM
  5. [SOLVED] Can a calculation ignore text if it occurs in formula's cell range
    By Sally in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-18-2005, 12:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1