+ Reply to Thread
Results 1 to 2 of 2

VBA Help for Data searching and finding corresponding data

  1. #1
    Registered User
    Join Date
    03-26-2013
    Location
    Singaqpore
    MS-Off Ver
    Excel 2003
    Posts
    21

    VBA Help for Data searching and finding corresponding data

    I am very new to VBA so would appreciate any help. Unfortunately I am stuck and I do not know how to start.

    I have a table

    md0O1.png
    1. Check whether B2 is In or Out
    2. If it is "In" then find the next Out and then subtract the Out Qty from column A with the In Qty from A2. (in this case 50-65)
    3. Then find the next "In" (B9) and then again find the next Out (B12) and then subtract.

    I know we have to use while and If else statement but i am unsure as to how to do it. Please any help will be appreciated.

    Thank you.

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: VBA Help for Data searching and finding corresponding data

    Does this do what you want? If not, please post a workbook
    Please Login or Register  to view this content.

+ 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: 7
    Last Post: 08-26-2015, 12:19 PM
  2. Replies: 0
    Last Post: 07-26-2013, 01:27 PM
  3. [SOLVED] Micro for Searching Data from One FILE and perform action if the Data is Found.
    By atthershabbir in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-01-2013, 03:26 AM
  4. [SOLVED] Finding data after searching with multiple criteria
    By coach.32 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-22-2013, 09:56 PM
  5. Searching and Finding Data in External Databases
    By ThePassenger in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-08-2013, 07:07 PM
  6. Searching data in 1 row, giving back data from column thats left to searched data
    By AmiGoCS in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-29-2012, 05:16 PM
  7. Replies: 5
    Last Post: 05-19-2008, 06:09 PM

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