+ Reply to Thread
Results 1 to 11 of 11

Formula to determine number of units at each location and status of units

  1. #1
    Registered User
    Join Date
    08-16-2016
    Location
    Ontario, Canada
    MS-Off Ver
    2016
    Posts
    5

    Question Formula to determine number of units at each location and status of units

    Please help with a formula to determine number of units on rent and in yard at each of the 5 locations:

    Legend - OH, NC, MD, MI & CA = location
    R = on rent
    Y = in yard

    Column:
    I J K L M N O P Q R
    Row:
    26 OH NC MD MI CA
    27 R Y R Y R Y R Y R Y
    28 Units 0 0
    29 Units 0 0

    formula in cell I28: =SUM(($D$3:$D$44=$I$26)*($E$3:$E$44=$I$27))

    formula in cell J28: =SUM(($D$3:$D$44=$I$26)*($E$3:$E$44=$J$27))
    Columns:
    D E
    Rows:
    3 CA Y
    4 OH Y
    5 CA Y
    6 OH R
    7 CA Y
    8 MI Y
    9 OH Y
    10 MI R
    11 MI R
    12 MI R
    13 OH R
    14 OH Y
    15 MI R
    16 OH Y
    17 OH Y
    OH Y
    NC R
    OH R
    NC R
    NC R
    MI R
    MD R
    OH R
    OH Y
    OH R
    MI R
    OH Y
    CA Y
    OH R
    NC R
    MI R
    MI R
    MD R
    44 MI R

  2. #2
    Registered User
    Join Date
    08-16-2016
    Location
    Ontario, Canada
    MS-Off Ver
    2016
    Posts
    5

    Re: Formula to determine number of units at each location and status of units

    Please help with a formula to determine number of units on rent and in yard at each of the 5 locations:

    Legend - OH, NC, MD, MI & CA = location
    R = on rent
    Y = in yard

    Column:
    I J K L M N O P Q R
    Row:
    26 OH NC MD MI CA
    27 R Y R Y R Y R Y R Y
    28 Units 0 0
    29 Units 0 0

    formula in cell I28: =SUM(($D$3:$D$44=$I$26)*($E$3:$E$44=$I$27))

    formula in cell J28: =SUM(($D$3:$D$44=$I$26)*($E$3:$E$44=$J$27))
    Columns:
    D E
    Rows:
    3 CA Y
    4 OH Y
    5 CA Y
    6 OH R
    7 CA Y
    8 MI Y
    9 OH Y
    10 MI R
    11 MI R
    12 MI R
    13 OH R
    14 OH Y
    15 MI R
    16 OH Y
    17 OH Y
    OH Y
    NC R
    OH R
    NC R
    NC R
    MI R
    MD R
    OH R
    OH Y
    OH R
    MI R
    OH Y
    CA Y
    OH R
    NC R
    MI R
    MI R
    MD R
    44 MI R

  3. #3
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: Formula to determine number of units at each location and status of units

    Please upload an excel sheet stating input to be entered and output rquired
    You may get ans quickly if you do this
    Mark the thread as solved if you are satisfied with the answer.


    In your first post under the thread tools.

    Mahju

  4. #4
    Registered User
    Join Date
    08-16-2016
    Location
    Ontario, Canada
    MS-Off Ver
    2016
    Posts
    5

    Re: Formula to determine number of units at each location and status of units

    Attached is the spreadsheet.

    Thanks you,

    Equipment Location and Status.xlsx

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,563

    Re: Formula to determine number of units at each location and status of units

    The formulas in post #1 need to be activated as array entered formulas which can be done by pressing the F2 key then Ctrl, Shift and Enter simultaneously. In the attached file some modifications have been made both to the formulas and to the layout of the table in E10:O13
    Let me know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  6. #6
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Formula to determine number of units at each location and status of units

    Write this formula on F12 :
    Please Login or Register  to view this content.
    On G12 :
    Please Login or Register  to view this content.
    On F13 :
    Please Login or Register  to view this content.
    On G13 :
    Please Login or Register  to view this content.
    Now copy them to right. Hope this will help.

  7. #7
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Formula to determine number of units at each location and status of units

    Or you can write single formula for each row. Then
    On F12 :
    Please Login or Register  to view this content.
    On F13 :
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    08-16-2016
    Location
    Ontario, Canada
    MS-Off Ver
    2016
    Posts
    5

    Re: Formula to determine number of units at each location and status of units

    Thank you very much JeteMc.

  9. #9
    Registered User
    Join Date
    08-16-2016
    Location
    Ontario, Canada
    MS-Off Ver
    2016
    Posts
    5

    Re: Formula to determine number of units at each location and status of units

    Thank you very much sanram.

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,563

    Re: Formula to determine number of units at each location and status of units

    You're Welcome and thank you for the feedback. If the solutions provided are satisfactory, please take a moment to mark the thread 'Solved' using the thread tools link above your first post. I hope that you have a blessed day.

  11. #11
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Formula to determine number of units at each location and status of units

    You are welcomed.

+ 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. Trying to do conditional counting, units within units
    By Butcher1 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-17-2016, 01:01 PM
  2. [SOLVED] formula for a different cost per number of units
    By svaeth in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-20-2015, 02:42 PM
  3. Replies: 6
    Last Post: 12-23-2013, 09:23 AM
  4. [SOLVED] Calculate the Bonus units according to the quantity of the units bought (Help)
    By mo_naf in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-15-2012, 05:51 PM
  5. Determine smallest number of units to make a whole
    By ArronLaing in forum Excel General
    Replies: 2
    Last Post: 11-12-2008, 09:48 AM
  6. How to determine the number of units?
    By Eric in forum Excel General
    Replies: 8
    Last Post: 03-11-2006, 01:35 PM
  7. How to determine the number of units based on given condition?
    By Eric in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-06-2006, 05:25 AM

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