+ Reply to Thread
Results 1 to 5 of 5

Way to give cell number after letter with function.

  1. #1
    Registered User
    Join Date
    12-03-2009
    Location
    asd
    MS-Off Ver
    Excel 2003
    Posts
    17

    Way to give cell number after letter with function.

    Something like this ...

    I want the A4 cell contains the calculation of B4 (but the number gained from the funtion row and if the B1 cell contains the number 10 the K(B1)=K10

    [A4]=B(row())*K(B1)


    Thanks.
    Last edited by lapator; 12-03-2009 at 05:02 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Way to give cell number after letter with function.

    Maybe?

    =index(B:B,Row())*index(K:K,B1)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    12-03-2009
    Location
    asd
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Way to give cell number after letter with function.

    Quote Originally Posted by NBVC View Post
    Maybe?

    =index(B:B,Row())*index(K:K,B1)
    The index (K:K,B1) is threated as a text not as cell. So it not working.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Way to give cell number after letter with function.

    This formula multiplies the value that is in column B of the row your formula is entered in...

    e.g. if you are in A5, then it multiplies B5 by the number that is in column K defined by the row number you enter in B1.. so again if you are in Row 5 and have a 3 in B5 and B1 shows 4, so that K4 will have a number, say 7, then the result is

    =Index(B:B,Row())*Index(K:K,B1)
    =Index(B:B,5)*Index(K:K,4)
    =B5*K4
    =3*7
    =21

  5. #5
    Registered User
    Join Date
    12-03-2009
    Location
    asd
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Way to give cell number after letter with function.

    Quote Originally Posted by NBVC View Post
    This formula multiplies the value that is in column B of the row your formula is entered in...

    e.g. if you are in A5, then it multiplies B5 by the number that is in column K defined by the row number you enter in B1.. so again if you are in Row 5 and have a 3 in B5 and B1 shows 4, so that K4 will have a number, say 7, then the result is

    =Index(B:B,Row())*Index(K:K,B1)
    =Index(B:B,5)*Index(K:K,4)
    =B5*K4
    =3*7
    =21
    You had right. Before it gave me an error...now it working fine.. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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