+ Reply to Thread
Results 1 to 15 of 15

need formula to this logic, A column number B column blank then C column desired name

  1. #1
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    need formula to this logic, A column number B column blank then C column desired name

    i dont know its possible or not? kindly help me excel experts.... see this logic

    A column "name with number" and B column "number" then C column should be BLANK

    A column "name with number" and B column "BLANK" then C column should Display "CUG NOT GIVEN"

    A column "only words" and B column "blank" then C column should be BLANK in c column,

    if A AND B blank then C column also should be Blank

    see my excel, and help me
    Attached Files Attached Files
    Last edited by vengatvj; 10-15-2013 at 07:12 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: need formula to this logic, A column number B column blank then C column desired name

    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: need formula to this logic, A column number B column blank then C column desired name

    protonleah sorry dear friend, your formula is not working in my excel, kindly apply your formula in my excel,

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: need formula to this logic, A column number B column blank then C column desired name

    Try this one. Also note that cells in Column B of your posted workbook only appear to be empty. There are many blank spaces in them. Cells with blanks (spaces) are not empty.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: need formula to this logic, A column number B column blank then C column desired name

    YES PROTOleah, second b column is look like blank, but fact is really that is not blank, actually that b column data is lookup from other data,, if no data there in original source then b column look like to be blank... as for that your formula working in only blank cell, now how to fix this problem,

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: need formula to this logic, A column number B column blank then C column desired name

    How about:
    Please Login or Register  to view this content.
    It tests column B for blank and space.

  7. #7
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: need formula to this logic, A column number B column blank then C column desired name

    you are great.... its working welllllll,, many many thanks to you dear friend....

    if possible pls help me to this similar question also,

    if A column is BLANK or SPACE then B column should display "AUDIT DONE"
    if A column Fill in any words then B column should display "BLANK"

    if B column is BLANK or SPACE then C column should display 'NOT DONE"
    if B column is AUDIT DONE then C column should display "BLANK"
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: need formula to this logic, A column number B column blank then C column desired name

    165 peoples saw this thread, u can only answerd from 165 peoples. Thank u protonleah

  9. #9
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: need formula to this logic, A column number B column blank then C column desired name

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  10. #10
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    hi, see my sample excel file,

    your formula is working well 80 % but some number give wrong result in your formula, if possible kindly correct that formula,
    Attached Files Attached Files

  11. #11
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: need formula to this logic, A column number B column blank then C column desired name

    Which ones are wrong?

  12. #12
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: need formula to this logic, A column number B column blank then C column desired name

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    this formula am telling about, its working almost well, but give some wrong result, see my last attached file, i made with your formula, just check it up..

  13. #13
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: need formula to this logic, A column number B column blank then C column desired name

    hi anyone rectify the error , i marked in yellow colors are errors,
    i need result in yellow color cells, display "cug not given"

    if mentioned cug numbers in a column, and that numbers given in b column then c coulmn shoud be blank,
    if mentioned cug numbers in a column, and that numbers not in b column then display 'CUG NOT GIVEN"
    if mentioned "cug not required" in a column and b column blank then c column should be blank,
    Attached Files Attached Files

  14. #14
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: need formula to this logic, A column number B column blank then C column desired name

    Some of your data has trailing spaces. You could fix that situation using the TRIM() fn :
    Please Login or Register  to view this content.

  15. #15
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: need formula to this logic, A column number B column blank then C column desired name

    thanks protonLeah, now all problems solved, got 100 correct answer.. many many thanks to you dear friend..

+ 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. Replies: 13
    Last Post: 09-19-2013, 06:54 PM
  2. [SOLVED] Find column number of the furthest non-blank column
    By SPOPKY in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-25-2013, 11:50 AM
  3. Replies: 6
    Last Post: 03-04-2013, 11:25 AM
  4. data in 2 column and display the desired result in 3rd column
    By vaz_saz in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 01-02-2013, 05:37 PM
  5. Copying a formula in a blank column as far as data in previous column
    By basildon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-16-2005, 11:35 AM

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