+ Reply to Thread
Results 1 to 6 of 6

Advanced Excel Formula

  1. #1
    Registered User
    Join Date
    11-09-2015
    Location
    India
    MS-Off Ver
    Office 2010
    Posts
    3

    Advanced Excel Formula

    Hi, i wanted to know whether we can bring Item Batch in Parellal Line to Item Name as shown in Excel Attached Format. 'Present' Sheet contains the default report derived from system. 'Required' Sheet contains the desired result required. I know it seems illogical but some how using advanced excel functions as search, isnumber, if, text, we can crack it out. I am not too sure of success in this just giving it a try for some ultra knowledged excel expert. Thank YOu in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Advanced Excel Formula

    a7=VLOOKUP(MID(B7,7,4)&"*",Present!B$6:B$679,1,0)
    Try this in Cell A7 in Required Sheet and copy towards down
    see the attached file
    Attached Files Attached Files
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  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
    44,025

    Re: Advanced Excel Formula

    Hi. If this is a one-off; I suggest this way:

    To return the drug names in column A (in A6, copy down)

    =IF(ISNUMBER(--MID(Present!B6,2,3)),Present!B6,Present!A5)

    To return the stock numbers, in B6 and copy down:

    =Present!B6

    This is 90% of the way htere. Then, in an empty column - I used o6 and copied down

    =A7=B7

    This will return TRUE where you have the drug name in both columns. Filter the rows with TRUE and delete them. Job done.
    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
    Registered User
    Join Date
    11-09-2015
    Location
    India
    MS-Off Ver
    Office 2010
    Posts
    3

    Re: Advanced Excel Formula

    may i know why and how &"*" worked?

  5. #5
    Registered User
    Join Date
    11-09-2015
    Location
    India
    MS-Off Ver
    Office 2010
    Posts
    3

    Re: Advanced Excel Formula

    seems quite complicated for novice like me. But thanks a ton for solving it and helping getting me out from miserable manual work.

  6. #6
    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
    44,025

    Re: Advanced Excel Formula

    As a matter of interest, which solution provided you with what you wanted?

+ 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. Advanced Excel- Array formula issue
    By PatCell in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-05-2015, 09:02 PM
  2. Advanced excel formula or function
    By ntc321 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-18-2014, 07:12 PM
  3. How to build an advanced formula in excel
    By Erozas2003 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-11-2014, 01:17 AM
  4. Replies: 4
    Last Post: 02-03-2014, 08:53 PM
  5. [SOLVED] Excel formula help - Advanced cell value copy
    By peterjonatan in forum Excel General
    Replies: 8
    Last Post: 06-19-2012, 08:27 AM
  6. advanced excel formula help
    By mca500 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-19-2010, 09:57 AM
  7. [Solved] Advanced Excel formula question
    By karlelei in forum Excel General
    Replies: 1
    Last Post: 11-25-2008, 06:23 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