Forum Discussion

null null's avatar
null null
Copper Contributor
Jul 11, 2018

Formula for Vacancies

Hello,

 

I am trying to create a formula that will link a total number of "vacancies" per position onto a separate excel sheet. 

 

Sheet 1                                                                         Sheet 2

secretary          filled                                                     secretary      2

secretary          vacant

secretary          filled

secretary          vacant

 

laborer            filled                                                     laborer          1

laborer            filled

laborer            vacant

 

 

 

Can I have a formula that will add the vacancies for an updating total on a different sheet like my example for sheet 2?

 

3 Replies

  • Have you tried a PivotTable? Put Position & Status in the Row field, then drag Status from the Field List into the Values field to get your summary.

     

    As your status changes, just refresh the PT to update.

    • null null's avatar
      null null
      Copper Contributor

      Thank you for the thought.  I have been working with it this morning and it will not separate the information correctly.  There are spaces throughout the document to separate departments and positions and it wants to create a sum and I want the positions listed separately to see how many vacancies per position.

       

      Thanks

      • Smitty Smith's avatar
        Smitty Smith
        Former Employee

        If your data is set up with spaces in between departments, then there's not much you'll be able to do other than manually. 

         

        You'd be better off by removing the gaps, then Excel will see it as one, continuous data set. Much like a database.

Resources