Results 1 to 9 of 9

Conditionally divide two arrays

Threaded View

  1. #1
    Registered User
    Join Date
    05-22-2019
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    9

    Conditionally divide two arrays

    Dear Forum,

    I have the following issue. I would like to conditionally divide two arrays by one another and sum the result. In the example below, I want to divide row 2 by row 4 but only if the word in row 1 appears in row 3. Here, this yields: 1) divide cell A2 by B4 (because both have the mathcing word "word1") which gives 2 and divide cell C2 by C4 (both have the matching word "word3") which gives 3. 2) Sum the result which gives 5.

    Thank you very much for your help! very appreaciated!
    Best regards


    a b c d e f
    1 Word1 Word2 Word3 Word4 Word5 Word6
    2 10 13 18 15 11 19
    3 Word8 Word1 Word3 Word9
    4 5 5 4 4
    Last edited by Mag2; 06-06-2019 at 05:45 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 01-04-2017, 06:00 PM
  2. Replies: 1
    Last Post: 01-04-2017, 05:59 PM
  3. storing multiple value in a single cell (through arrays or without arrays)?
    By mak51061 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-25-2014, 09:27 PM
  4. Declaring multiple multi-dimensional arrays (jagged arrays) - compile error?
    By dfribush in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-20-2013, 05:06 PM
  5. vba compare arrays and remove exact matching arrays
    By jacojvv in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 10-25-2013, 07:30 AM
  6. [SOLVED] New to arrays-where do I find a good beginners guide to multi dimensional arrays
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-04-2013, 07:44 PM
  7. Conditionally positioning arrays
    By dbryant99 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-24-2009, 06:03 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