VBA code to take input values and update worksheet linked to current values

Nlhicks

Board Regular
Joined
Jan 8, 2021
Messages
244
Office Version
  1. 365
Platform
  1. Windows
Current Values Formulas take the search Criteria Values of From, To and Circuit number and look in another sheet to find the correct line based on the criteria.

=INDEX('Facility Ratings & SOLs (Lines)'!B:B,SMALL(IF(ISNUMBER((SEARCH(C3,'Facility Ratings & SOLs (Lines)'!J:J))*(SEARCH('Update Spreadsheet'!C4,'Facility Ratings & SOLs (Lines)'!K:K))*(SEARCH('Update Spreadsheet'!C5,'Facility Ratings & SOLs (Lines)'!AK:AK))),MATCH(ROW('Facility Ratings & SOLs (Lines)'!J:J),ROW('Facility Ratings & SOLs (Lines)'!J:J)),""),ROWS('Facility Ratings & SOLs (Lines)'!$A$1:A1)),COLUMNS('Facility Ratings & SOLs (Lines)'!$A$1:A1))

=INDEX('Facility Ratings & SOLs (Lines)'!C:C,SMALL(IF(ISNUMBER((SEARCH(C3,'Facility Ratings & SOLs (Lines)'!J:J))*(SEARCH('Update Spreadsheet'!C4,'Facility Ratings & SOLs (Lines)'!K:K))*(SEARCH('Update Spreadsheet'!C5,'Facility Ratings & SOLs (Lines)'!AK:AK))),MATCH(ROW('Facility Ratings & SOLs (Lines)'!J:J),ROW('Facility Ratings & SOLs (Lines)'!J:J)),""),ROWS('Facility Ratings & SOLs (Lines)'!$A$1:A1)),COLUMNS('Facility Ratings & SOLs (Lines)'!$A$1:A1))

=INDEX('Facility Ratings & SOLs (Lines)'!D:D,SMALL(IF(ISNUMBER((SEARCH(C3,'Facility Ratings & SOLs (Lines)'!J:J))*(SEARCH('Update Spreadsheet'!C4,'Facility Ratings & SOLs (Lines)'!K:K))*(SEARCH('Update Spreadsheet'!C5,'Facility Ratings & SOLs (Lines)'!AK:AK))),MATCH(ROW('Facility Ratings & SOLs (Lines)'!J:J),ROW('Facility Ratings & SOLs (Lines)'!J:J)),""),ROWS('Facility Ratings & SOLs (Lines)'!$A$1:A1)),COLUMNS('Facility Ratings & SOLs (Lines)'!$A$1:A1))

Not sure where to start with taking the user input and making a change to the existing number but when it changes it should show up in the current values with the changed value.
 

Attachments

  • Capture.PNG
    Capture.PNG
    12.1 KB · Views: 7

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,214,807
Messages
6,121,679
Members
449,047
Latest member
notmrdurden

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