+ Reply to Thread
Results 1 to 8 of 8

How to put reference values in from one sheet to other sheet

  1. #1
    Registered User
    Join Date
    01-14-2017
    Location
    Pakistan
    MS-Off Ver
    Ms Office 2016
    Posts
    35

    How to put reference values in from one sheet to other sheet

    Dear sir please guide me,
    How to put values from one sheet to other sheet by the reference of 1st sheet,

    I make an excel sheet and in U column I required Name of T.S.Os (Territory sales Officer), I have written these names and their towns in sheet 2. Now I want to put Formula in cell U9 . Which put automatically by seeing the city of t.S.Os which is in B column,
    Sorry my English is so poor,
    But if you understand my Problem, Please solve this as soon as possible,
    Sir please see attachment.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: How to put reference values in from one sheet to other sheet

    Isn't this very similar to your other thread?

    You can put this formula in U9:

    =IF(COUNTIF(Sheet2!$A$6:$W$26,B9)=0,"",INDEX(Sheet2!$A$5:$W$5,SUMPRODUCT((B9=Sheet2!$A$6:$W$26)*(COLUMN($A:$W)))))

    then copy down.

    Hope this helps.

    Pete

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: How to put reference values in from one sheet to other sheet

    You need to create a two column table.
    In the first column enter the cities and alongside in the second column the TSO name.

    Then in your column U use

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

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: How to put reference values in from one sheet to other sheet

    Nice one Pete. I hadn't spotted that relationship.


  5. #5
    Registered User
    Join Date
    01-14-2017
    Location
    Pakistan
    MS-Off Ver
    Ms Office 2016
    Posts
    35

    Re: How to put reference values in from one sheet to other sheet

    Thanks Sir,
    My Problem is solved, I pray to God for your long Life,
    Again thanks.

  6. #6
    Registered User
    Join Date
    01-14-2017
    Location
    Pakistan
    MS-Off Ver
    Ms Office 2016
    Posts
    35

    Re: How to put reference values in from one sheet to other sheet

    Thanks sir for reply,
    Next Time I will do Iit as you guide me. But now my problem is solved,
    Again Thanks,

  7. #7
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: How to put reference values in from one sheet to other sheet

    That may have solved your problem, but you still have a massive IF formula in column V. Instead of that, you can use this formula in V9:

    =IFERROR(LOOKUP("zzzz",Sheet2!$A$4:INDEX(Sheet2!$4:$4,MATCH(U9,Sheet2!$5:$5,0))),"")

    then copy down.

    Hope this helps.

    Pete

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: How to put reference values in from one sheet to other sheet

    Quote Originally Posted by M. Shahbaz View Post
    I pray to God for your long Life
    We all hope for that as well!
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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] Lookup values from sheet 2 with sheet 1 and copy found values in cell b of sheet 1
    By spa3212 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-21-2016, 03:28 AM
  2. Replies: 4
    Last Post: 11-11-2015, 06:46 PM
  3. Cell reference changes when values on different sheet are shifted?
    By club rat in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-20-2012, 08:31 AM
  4. Replies: 0
    Last Post: 10-19-2012, 08:01 AM
  5. Value Lookup Function for non reference sheet values
    By Khaldon in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-13-2011, 03:19 AM
  6. [SOLVED] Retrieving Values from Different Sheets Using the Sheet Name as a Reference
    By Tolga Candan in forum Tips and Tutorials
    Replies: 2
    Last Post: 07-18-2007, 12:02 PM
  7. Replies: 1
    Last Post: 08-25-2005, 02:18 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