IF > Value Put in Cell

tfowlerusa

New Member
Joined
Mar 28, 2017
Messages
13
I have a sheet where I am trying to pull only the cell where the value is greater the 3 and put them in column H & I within the same sheet. I have a list in Table 1 where if "F" is > the 3 with conditional formatting on. Is there a way to pull only data from Table 1 with Qty > then 3 and match it like in Table 2 columns "H" & "I"? ( I manually created the columns in Table 2 ) Thank you.

Table 1
EF
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
Event/Vendor/Tool
JQ05-AMAT-EMO
JXD1-AMAT-TSA
JS07-AMAT-He FLOW
JS07-AMAT-LOST PLASMA
JO01-LAM-LOST PLASMA
JS05-AMAT-IMPEDENCE FAULT
JQ04-AMAT-HO Defect
JLD2-AMAT-HEATER
JO01-LAM-PLY
JQ04-AMAT-UV Lamp

<tbody>
</tbody>
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
Tx Wafer Qty
2
2
1
8
2
2
2
2
1
6

<tbody>
</tbody>

<tbody>
</tbody>

Table 2
HI
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
Event/Vendor/Tool
Avg Per Week
JS07-AMAT-LOST PLASMA
JQ04-AMAT-UV Lamp

<tbody>
</tbody>
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
Tx Wafer Qty
8
6

<tbody>
</tbody>

<tbody>
</tbody>
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Maybe something like this...

Code:
Sub CreateYourTable()
Dim Cntr As Integer


    With Sheets("sheet1")
        .Range("H:I").ClearContents
    
        For Cntr = 1 To Application.WorksheetFunction.CountA(.Range("E:E")) - 1
            If .Range("E1").Offset(Cntr, 1) > 3 Then
                .Range("H1").Offset(Application.WorksheetFunction.CountA(.Range("H:H")), 0).Value = .Range("E1").Offset(Cntr, 0).Value
                .Range("I1").Offset(Application.WorksheetFunction.CountA(.Range("I:I")), 0).Value = .Range("E1").Offset(Cntr, 1).Value
            End If
        Next Cntr
    End With
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,530
Messages
6,120,071
Members
448,943
Latest member
sharmarick

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