+ Reply to Thread
Results 1 to 2 of 2

Help needed to program a function

  1. #1
    Registered User
    Join Date
    05-26-2021
    Location
    Canada
    MS-Off Ver
    Microsoft 365
    Posts
    25

    Help needed to program a function

    Hi,

    I need the function to take place in the "Mouvements inventaire" Tab:

    If the cells in the 7th row (in orange-beige) = Oui, sum the oranges cell (I9, M9, Q9, etc) underneath and SUM the result that would appear in the B9 cell.

    Example: If F7 = Oui, J7 = Non, N7 = Oui, then B9= I9(2) + Q9(3) = 5. See the attached filed

    I would like this to be applicable to every row and to be able to add as many columns as I need.

    Can someone help me with this matter ?

    Thank you very much for your time.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,359

    Re: Help needed to program a function

    Try

    =SUMPRODUCT(($F$7:$R$7="Oui")*($I$8:$U$8="BOX")*($I9:$U9))

    NOTE: the second/third ranges (in RED) are offset from first range ( In BOLD)
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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] a function to copy the things needed from one sheet to another. only the ones needed
    By karim.zheng in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-31-2015, 09:49 AM
  2. Weights Needed in Exercise Program
    By Aaron1971 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-15-2012, 12:48 AM
  3. Launching macro needed - Click a cell on sheet1 and find/run program on sheet2
    By teacher5th in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-23-2007, 03:31 PM
  4. help needed with excel macro program
    By Mike in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-12-2006, 10:20 PM
  5. [SOLVED] Can I program this needed format conversion AFTER pivot table
    By Todd F. in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-31-2006, 11:00 AM
  6. [SOLVED] Function program
    By maperalia in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-26-2005, 05:05 PM
  7. Help needed on program
    By kingsdynasty in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-22-2005, 10:05 PM

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