+ Reply to Thread
Results 1 to 4 of 4

Formula for refering a cell upto particular number of columns

  1. #1
    Forum Contributor
    Join Date
    08-02-2015
    Location
    Hyderabad
    MS-Off Ver
    2007
    Posts
    160

    Formula for refering a cell upto particular number of columns

    Dear All,

    Good Afternoon!!!!

    I'm using a formula to lookup a value in which I'm refering a cell upto 38 rows & then cell to be refered the next cell after these 38 cells

    Ex: A4 has Delhi, A5:A38 has some values, A39 has Faridabad, A40:A73 has some values

    Formula is being populated in B column in which I want to refer the Delhi from B5:B38 & then from B40:B73 to refer the Faridabad

    Is it possible? Please confirm.
    Last edited by laansesu; 11-19-2015 at 03:32 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Formula for refering a cell upto particular number of columns

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

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

    View Pic

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Formula for refering a cell upto particular number of columns

    You could probably do this with INDEX, something like...
    =INDEX(A:A,A1*38)

    However, to get a better answer, can you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Contributor
    Join Date
    08-02-2015
    Location
    Hyderabad
    MS-Off Ver
    2007
    Posts
    160

    Re: Formula for refering a cell upto particular number of columns

    Dear Pepe,

    Please find the attached sheet in which Sheet1 is our company format, Sheet3 is client's format, Sheet2 is for resolving the naming convention issue between Sheet1 & Sheet3

    My goal is to retrieve the balance of a location per model from clients sheet (Sheet3) to company sheet (Sheet1)

    =IFERROR(VLOOKUP(VLOOKUP(A6,Sheet2!A:B,2,0),Sheet3!$A$5:$GS$125,MATCH(A$4&"BAL",Sheet3!$B$7:$GS$7,0),0),0)

    Above formula is used to retrieve the data from clients format to company format. There is no issue in that

    But in formula I'm using A$4 after match which is the only thing I'm refering manually which I want to do with any function so dat single formula can be populated on overall data to retrieve the data without refering manually

    Please check and confirm the same.
    Attached Files Attached Files

+ 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: 4
    Last Post: 05-04-2015, 12:58 AM
  2. Looking for a formula for filling the data upto certain number of rows
    By sstiruwa in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-03-2014, 09:45 AM
  3. if statemnt ignoring formula on the cell that they are refering to
    By luis6777 in forum Excel Formulas & Functions
    Replies: 37
    Last Post: 06-13-2014, 03:33 PM
  4. [SOLVED] Refering to a workbook name in a formula based on a cell value
    By jshaw82 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-12-2013, 03:21 AM
  5. Excel 2007 : Refering to a formula in a cell
    By SCLai in forum Excel General
    Replies: 2
    Last Post: 10-06-2010, 09:02 PM
  6. Fill the Cell with Zeros upto a fixed number of characters
    By hsmeet in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-15-2008, 10:24 PM
  7. refering to a blank cell in a formula
    By Ethos in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-23-2007, 10:41 AM

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