+ Reply to Thread
Results 1 to 9 of 9

solving formula based on data on separate sheet

  1. #1
    Registered User
    Join Date
    12-11-2012
    Location
    riyadh ,saudi arabia
    MS-Off Ver
    Excel 2007
    Posts
    10

    solving formula based on data on separate sheet

    i have separate sheet for all of my data and i created another sheet for my calculation.

    i want to ask if let say , i will put 15 in B3(covered area), the answer in A4 will be 30 AND IN B5 WILL BE 19; based on the table on separate sheet (data)




    TEST1.xlsx

  2. #2
    Forum Contributor
    Join Date
    11-11-2012
    Location
    Muscat, Oman
    MS-Off Ver
    Office 365
    Posts
    521

    Re: solving formula based on data on separate sheet

    Unmerge column D and E and then use Vlookup that should help

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: solving formula based on data on separate sheet

    I hate merged cells

    Remove merged cells and fill the same data to the cells.

    Then in A3 cell of Comp Sheet
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag the formula down to A4.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Forum Contributor
    Join Date
    11-11-2012
    Location
    Muscat, Oman
    MS-Off Ver
    Office 365
    Posts
    521

    Re: solving formula based on data on separate sheet

    Hello Sixthsense, I am interested in knowing more about "3+ROW(A1)" instead of using 4 to pick up the value from the 4th column of the table.

  5. #5
    Registered User
    Join Date
    12-11-2012
    Location
    riyadh ,saudi arabia
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: solving formula based on data on separate sheet

    Thank you sixthsense!

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: solving formula based on data on separate sheet

    @VKS,

    Hm... It's just used for incrementing the output column to avoid manual input and keeping a single formula will be easier one in case of any changes instead of going through each cells for changes.

    For example in this OP's case the expected output column results are 4 and 5.

    So the formula should be

    In A3 cell
    =VLOOKUP($B$3,DATA!$A$4:$F$13,4,1)

    In A4 cell
    =VLOOKUP($B$3,DATA!$A$4:$F$13,5,1)

    In the above case it requires two formula's for getting two different column's output. What happens if we have more formula like this... It requires more time to check each formula whether the formula's are unique or any manual change has been made.

    So instead of using multiple formula's based on the requirement, making the formula single will help us in case of any change in future.

    Row(A1) will get the result as 1
    Row(A2) will get the result as 2

    In the case case
    Column(A1) will get the result as 1
    Column(B1) will get the result as 2

    So here the resulting columns are just a incremental series so just added row(a1) and 3 is a constant value for getting the result as 4. When it applied to next cell the row(a1) will become as row(a2) and the result will be 2 and addition of constant 3 will result as 5.

    Hope I made it clear

  7. #7
    Forum Contributor
    Join Date
    11-11-2012
    Location
    Muscat, Oman
    MS-Off Ver
    Office 365
    Posts
    521

    Re: solving formula based on data on separate sheet

    @ Sixthsense…..You already have my Star on this post. I use vlookup very often in various columns and believe me till date i was typing the formula in the first row and then copy it to other columns and then manually change the column number for all the columns.... then copy and paste it all the way down in required columns……Thanks again/VKS

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: solving formula based on data on separate sheet

    You already have my Star on this post
    Hm.. Not appearing in my Latest Reputation Area , Anyhow Glad it helps you

  9. #9
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: solving formula based on data on separate sheet

    @VKS,

    Thanks for the rep which appeared now

+ 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