+ Reply to Thread
Results 1 to 10 of 10

Require Help to define a Formula

  1. #1
    Registered User
    Join Date
    10-21-2013
    Location
    Saudi Arabia
    MS-Off Ver
    Excel 2010
    Posts
    44

    Require Help to define a Formula

    hi to all experts,

    Actually I am try to define a formula as follows :

    if I put the Employee Number in cell No. A4 so I want relevant dates below of all listed item. Which should come through my source sheet name "Main".

    such as employee No. 62 have take 3 items in 3 different days, so I want to reflect the dates below the same item which has been given to him.

    in addition to that if employee no. 62 takes again the same item so it should reflect the value just below the item in descending order.

    any help in this regard will be highly appreciated.

    thanks in advance....

    Encl : as attached.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Require Help to define a Formula

    Enter into H5 on your Query sheet, and confirm with CTRL+SHIFT+ENTER as an array formula:

    Please Login or Register  to view this content.
    Drag across to fill.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  3. #3
    Registered User
    Join Date
    10-21-2013
    Location
    Saudi Arabia
    MS-Off Ver
    Excel 2010
    Posts
    44

    Re: Require Help to define a Formula

    DEar Mr. mcmahobt,

    1st of all thanks you to providing me valuable input.

    According to your instruction i have applies the formula in H5 & dragged it into other cells but for other cell where the item not available its showing #N/A & i tried it to fix through if and iferror formula is not working.

    I want to highlight one more thing which is that as you can see in my Main sheet Employee No. 62 is receiving 2 similar item in the same day i.e. 28-Jan-2015 but it didn't reflected there. Can we sort out his issue ?

    waiting for your feedback.

    thanks.....

    Encl : attachment available.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Require Help to define a Formula

    On your query sheet, will you only be inserting one person's name at a time in C5? As in, will you only be interested in pulling the data for one person within your table E4:M14?

  5. #5
    Registered User
    Join Date
    10-21-2013
    Location
    Saudi Arabia
    MS-Off Ver
    Excel 2010
    Posts
    44

    Re: Require Help to define a Formula

    Dear Mr. mcmahob,

    Glad to see you again,

    let me explain you something,

    The Main Sheet is my data entry which i am updating on daily basis by providing the items to all my employees as you can see there.

    But in Query Sheet, i want a record of a single employee in order to know about his record i.e. what he gave received and by what date in ascending order by employee's number.

    Hope i i tried to explain better than before.

    thanks......

  6. #6
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Require Help to define a Formula

    Could you reupload a sample workbook with what you expect your data to look like? Because based upon what you have previously uploaded, I don't understand why Safety Dress should have two dates associated with it when there is only one Safety Dress for Hamed Ullha Hassan within the Main Sheet.

  7. #7
    Registered User
    Join Date
    10-21-2013
    Location
    Saudi Arabia
    MS-Off Ver
    Excel 2010
    Posts
    44

    Re: Require Help to define a Formula

    dear Mr. mcmahobt,

    Please look @ the attached example sheet & see the data in query sheet as i want to appear.

    thanks.....
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Require Help to define a Formula

    If that is what you require, paste this into E5, entered as an array formula with CTRL+SHIFT+ENTER:

    Please Login or Register  to view this content.
    and drag across/down.

  9. #9
    Registered User
    Join Date
    10-21-2013
    Location
    Saudi Arabia
    MS-Off Ver
    Excel 2010
    Posts
    44

    Re: Require Help to define a Formula

    Thank you mr mcmahobt,

    i really appreciates your effort, this formula is working like a charm.

    could you please tell me how to make this post as a solved, because i am not getting this option.

  10. #10
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Require Help to define a Formula

    Using thread tools, you should be able to mark the thread as solved. Also, you may want to look into pivot tables for future (or even this) problem, as it is more flexible than formulas.

+ 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. Excel 2013 Formula help required.
    By jamiehartle in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-06-2014, 07:56 AM
  2. Require information on how a specific formula works (see inside for formula)
    By twiggywales in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-04-2012, 10:13 AM
  3. [SOLVED] Require Help - Require Formula for Multiple values in both columns
    By krodge in forum Excel General
    Replies: 6
    Last Post: 01-13-2012, 03:42 AM
  4. require:Need formula help
    By SeattleBumm in forum Excel General
    Replies: 5
    Last Post: 07-25-2006, 03:50 PM
  5. Require Formula
    By rasik in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-10-2005, 06:41 AM

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