+ Reply to Thread
Results 1 to 6 of 6

Add number from cell reference to other cell formular.

  1. #1
    Registered User
    Join Date
    10-15-2014
    Location
    Copenhagen
    MS-Off Ver
    201, 2013, 365
    Posts
    42

    Add number from cell reference to other cell formular.

    Hi All.

    This might be simple but today I canīt figure it out.

    I need to have a cell ference that extends with the number from another cell.

    I cell B10 formel: "=SUM(A50:A50)"

    Where the last A50 need to be incresed with the bumber in cell B1.

    So if B1 is 1 the formel would be "=SUM(A50:A51)"
    So if B1 is 5 the formel would be "=SUM(A50:A55)"
    So if B1 is 0 the formel would be "=SUM(A50:A50)"

    Is that possible ???

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

    Re: Add number from cell reference to other cell formular.

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

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Add number from cell reference to other cell formular.

    You did not say what you want to happen if B1 is 0 or blank... so maybe this:


    =SUM(A50:INDEX(A50:A1000,B1+1))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Taiwan
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,382

    Re: Add number from cell reference to other cell formular.

    =sum(indirect("a50:a5"&$b$1))

  5. #5
    Registered User
    Join Date
    10-15-2014
    Location
    Copenhagen
    MS-Off Ver
    201, 2013, 365
    Posts
    42

    Re: Add number from cell reference to other cell formular.

    SOLVED - THANKS - SO SIMPLE - It is just to hot today ;-)

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

    Re: Add number from cell reference to other cell formular.

    Glad to help & 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. Create a formular in a celll that can filter just number from a cell
    By Henry2010 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-21-2019, 06:43 AM
  2. Macro to change of bill number in a cell in reference with the name in another cell
    By Tauheed Ahmed in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-10-2018, 07:47 AM
  3. Column number reference using cell reference
    By Fatrobo in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-16-2015, 12:50 AM
  4. how to reference cell value from column number and row number
    By jed38 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-11-2015, 07:37 PM
  5. Replies: 2
    Last Post: 02-23-2013, 06:54 AM
  6. Replies: 3
    Last Post: 12-10-2009, 11:40 AM
  7. Replies: 2
    Last Post: 08-21-2006, 08:20 PM

Tags for this Thread

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