Column down question

bullcreel

Board Regular
Joined
Aug 25, 2016
Messages
148
1578165922848.png

Here is my question.
1. Cells K1 and Q1 value can change.
2. I need the "tc", "tc" in column 'O' to move to cells 'O5 and O6' so that it falls after the HRs in column 'J', they cannot be in the same row.
3. If column 'J' HR changes to only 2 then the "tc" would then have to go into cells O4 and O5.

I hope this makes sense.
Thank You in advance for the help
 

Attachments

  • 1578165772330.png
    1578165772330.png
    4.9 KB · Views: 3
  • 1578165843128.png
    1578165843128.png
    5.7 KB · Views: 3

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0
So lets say I wanted to do the same thing for column V, how do I add in another countif.
Here my approach

Book1
AIJKLMNOPQRSTUVWX
1HR303B23C4
21HR1 1 
32HR2 2 
43HR3 3 
54 4tc4 
65 5tc5 
76 6 6other
87 7 7other
98 8 8other
109 9 9other
1110 10 10 
1211 11 11 
1312 12 12 
1413 13 13 
1514 14 14 
1615 15 15 
1716 16 16 
sheet
Cell Formulas
RangeFormula
J2:J17J2=IF(I2<=$K$1,$J$1,"")
O2:O17O2=IF(AND(COUNTIF($O$1:O1,"tc")<$Q$1,J2=""),"tc","")
V2:V17V2=IF(AND(COUNTIF($V$1:V1,"other")<$X$1,O2="",J2=""),"other","")
 
Upvote 0

Forum statistics

Threads
1,214,422
Messages
6,119,396
Members
448,891
Latest member
tpierce

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top