+ Reply to Thread
Results 1 to 6 of 6

Trying to write a formula to bring back a value based on 2 parameters and am struggling!

  1. #1
    Registered User
    Join Date
    05-09-2013
    Location
    Hampshire
    MS-Off Ver
    Excel 2019
    Posts
    38

    Trying to write a formula to bring back a value based on 2 parameters and am struggling!

    Hi,
    I am trying to create a formula that returns a value based on the product and day of the week. I only want a value returned if both the product and week day have a value in. The yellow cell indicates where the date would be changed to the appropriate month and the dates and days will flow through by formula. I have already actioned this part.


    I have attached my working doc for info and would be really grateful if any of you can offer a steer in the right direction!

    Many thanks

    Suzanne
    Attached Files Attached Files

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Trying to write a formula to bring back a value based on 2 parameters and am strugglin

    How about this in J6 and filled right/down to N12

    =IF(B8="","",B8)

  3. #3
    Registered User
    Join Date
    05-09-2013
    Location
    Hampshire
    MS-Off Ver
    Excel 2019
    Posts
    38

    Re: Trying to write a formula to bring back a value based on 2 parameters and am strugglin

    Thank you for taking the time to reply to me.

    My problem is that when I change the month in cell H2 the date and day of the week will change, as I wish them to. For example, Bread will only be delivered on a Monday and Wednesday. These days will not always be in the same cell so I need a formula that can reflect this change...

    Hope this makes sense!

    Suzanne

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Trying to write a formula to bring back a value based on 2 parameters and am strugglin

    OK, I see it now.

    I was thinking the day's in row 4 would remain the same...
    But I see now that they change with a different date in H2.

    Try this in H6 filled down/right
    =IFERROR(1/(1/INDEX($B8:$F8,MATCH(I$4,$B$7:$F$7,0))),"")

  5. #5
    Registered User
    Join Date
    05-09-2013
    Location
    Hampshire
    MS-Off Ver
    Excel 2019
    Posts
    38

    Re: Trying to write a formula to bring back a value based on 2 parameters and am strugglin

    Thank you so much for your help.

    Something else that I have learnt!

    Suzanne

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Trying to write a formula to bring back a value based on 2 parameters and am strugglin

    You're welcome.

+ 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. Array Formula Lookup - Bring back Lowest Date + Bring Back Cell Location
    By Matt1998 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-04-2014, 12:08 PM
  2. [SOLVED] Formula to bring back a number if X is Y or Z
    By jonathan.haynes in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-18-2013, 08:03 AM
  3. [SOLVED] Bring back a name in one column based on criteria in 2 other columns
    By BillDoor in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-22-2013, 08:07 AM
  4. bring back cell on closed workbook based on 2 sets of information
    By scruffpitt in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-15-2012, 06:19 PM
  5. [SOLVED] How to bring back data based on a range of numbers
    By Momea in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-31-2012, 05:12 PM
  6. Bring back value based on date
    By mrggutz in forum Excel General
    Replies: 13
    Last Post: 11-02-2010, 09:14 AM
  7. Bring Back Multiple Items Based on Common Number
    By 3ric in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-01-2007, 02:44 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