+ Reply to Thread
Results 1 to 6 of 6

Automatic Row Name

  1. #1
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Automatic Row Name

    K13---1---3
    K29---2---9
    K68---6---8
    X4----0---0
    X5----0---0
    X6----0---0

    In column B and C I have numerical Data
    I want an automatic name row in column A

    If B1<>0 and C1<>0 THEN "K"&B1&C1

    If B1=0 and C1=0 THEN "X"4
    4 because I have 3 rows <>0 so I want to start with next one

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Automatic Row Name

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

  3. #3
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Automatic Row Name

    Please try the following an A1 copied down:
    =IF(AND(B1<>0,C1<>0),"K"&B1&C1,"X"&ROW())
    Geoff

    Did I help significantly? If you wish, click on * Add Reputation to say thanks.
    If your problem has been resolved please select ?Solved? from the Thread Tools menu

  4. #4
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Re: Automatic Row Name

    No, because I need to count how many C<>0 and d<>0.
    It happened to be 4 here so row() work
    Sorry, I am starting at row 5

  5. #5
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Re: Automatic Row Name

    Thanks all, I got it, Row()-5
    Thanks

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Automatic Row Name

    Glad you sorted it & thanks for the feedback

+ 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. [SOLVED] Automatic sum
    By oeyandyprawira in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-22-2015, 10:39 PM
  2. Automatic 0.
    By Nero_slk in forum Excel General
    Replies: 3
    Last Post: 05-17-2013, 03:12 AM
  3. [SOLVED] CHOOSE Function (Automatic) - Automatic Choose Array
    By dluhut in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-13-2013, 03:22 PM
  4. [SOLVED] Automatic sum
    By sordid in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-08-2012, 09:39 AM
  5. Replies: 0
    Last Post: 04-27-2012, 07:32 AM
  6. Automatic Update from a site and automatic ranking-Possible?
    By striker_rage in forum Excel General
    Replies: 3
    Last Post: 12-01-2008, 11:34 AM
  7. Automatic Sum ?
    By EHansen in forum Excel General
    Replies: 3
    Last Post: 09-12-2008, 02:42 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