+ Reply to Thread
Results 1 to 4 of 4

If cell contains date, refer to other cell, feedback to alternative tab.

  1. #1
    Registered User
    Join Date
    10-24-2017
    Location
    UK
    MS-Off Ver
    2016
    Posts
    15

    If cell contains date, refer to other cell, feedback to alternative tab.

    Hi all,

    If anyone could help me with the following function it would be most appreciated.


    Example of data layout:

    D1 - Item type
    H1 - Unsuccessful date
    I1 - Successful date

    We utilise this data set across four different sheets for various clients. The fifth sheet will collate information from the other four sheets and collate the required figures so I can calculate how much of each particular item type is in demand.

    That said, I need a formula that basically works as - If (I1) has a date, take item type from (D1, so for example, "washing machine"), then add this as 1 value on to a separate sheet.

    That way I can create multiple item type listings on the new sheets, and have this information of required item types as a value next to it. Such as:
    Washing Machines(A1) 10(B1)
    Electric Cooker (A2) 15(B2)


    I hope this makes sense!

    Many thanks.

    Chris

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,427

    Re: If cell contains date, refer to other cell, feedback to alternative tab.

    I don't follow what is meant to be in which cell!!! A spreadsheet is worth 1000 words...

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    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

  3. #3
    Registered User
    Join Date
    10-24-2017
    Location
    UK
    MS-Off Ver
    2016
    Posts
    15

    Re: If cell contains date, refer to other cell, feedback to alternative tab.

    Hi Glenn,

    Thanks for your quick reply.

    I've attached a sample, but allow me to re-explain as the cell numbers are slightly different now.


    I need the formula to work on the third sheet called "Item amounts"
    It will need to:
    Look at J2 (if there is a date, the sum needs to ignore this row as the date signifies that an item has already been allocated to this person)
    If there is no successful delivery date, it will refer to the information in E2
    It will then take the item type and apply it as a value to its respective cell on sheet three

    If you look at the sheet named "Item amounts" it should make sense as to what I'm trying to do. This is where I need the values to display, so that my colleagues can easily see the amount of items that are required at any given point.

    I hope this helps!

    Apologies if this still isn't clear enough.


    Many thanks,
    Chris
    Attached Files Attached Files

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: If cell contains date, refer to other cell, feedback to alternative tab.

    Hello and welcome to the forum.

    In B2 of the 'Item amounts' worksheet, try this:

    =COUNTIFS('Client list 1'!J:J,"",'Client list 1'!E:E,A2)+COUNTIFS('Client list 2'!J:J,"",'Client list 2'!E:E,A2)

+ 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. auto refer to new cell when new date is inputted
    By reggieneo in forum Excel General
    Replies: 1
    Last Post: 06-22-2017, 05:47 AM
  2. Replies: 2
    Last Post: 12-19-2012, 11:04 AM
  3. Replies: 7
    Last Post: 12-16-2012, 04:24 PM
  4. Replies: 19
    Last Post: 09-24-2012, 07:16 PM
  5. Replies: 3
    Last Post: 01-20-2012, 01:35 PM
  6. [SOLVED] Excel 2007 : Refer 3 cell’s values & make a cell address function
    By Sandeep999 in forum Excel General
    Replies: 2
    Last Post: 10-21-2010, 04:41 AM
  7. Replies: 3
    Last Post: 03-01-2006, 09:10 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