Skip to main content
Fixed table
Source Link
Blindspots
  • 7.5k
  • 5
  • 20
  • 38

In a Google Sheets workbook, I have a sheet named Tax Codes and Rates containing a tax table with the following 4 columns: County ,  Municipality or County ,  Location Code ,  Rate

Sample Lookup Data

Sheet: 'Tax Codes and Rates'

A B C D
1 County Municipality or County Location Code Code Rate
2 Bernalillo Santolina TID District 20 02-640 6.31%
3 Bernalillo Upper Petroglyphs TID District 1 02-607 6.31%
4 Catron Reserve 28-130 7.88%
5 Curry Remainder of County 05-005 6.00%
6 Eddy Artesia 03-205 7.77%
7 Eddy Carlsbad 03-106 7.52%
8    -    ? ... ... etc. ... ...

In a separate sheet named DA Template, I want a formula that takes a Location Code as input and returns the Rate from the matching row in the Tax Codes and Rates sheet.

Sample Results

Sheet: 'DA Template'

A B
1 Lookup Value
( Location Code )
Formula Result
( Rate )
2 05-005 6.00%
3 02-607 6.31%
4 03-106 7.52%

Using the sample tables above,

  1. Lookup value 05-005 located in 'DA Template'!A2 matches 'Tax Codes and Rates'!C5'
  2. Formula in 'DA Template'!B2 returns 6.00% the value from Rate in the same row: 'Tax Codes and Rates'!D5'

What formula would automatically return the Rate based on the Location Code?

Sample Google Sheets Workbook

In a Google Sheets workbook, I have a sheet named Tax Codes and Rates containing a tax table with the following 4 columns: County ,  Municipality or County ,  Location Code ,  Rate

Sample Lookup Data

Sheet: 'Tax Codes and Rates'

A B C D
1 County Municipality or County Location Code Rate
2 Bernalillo Santolina TID District 20 02-640 6.31%
3 Bernalillo Upper Petroglyphs TID District 1 02-607 6.31%
4 Catron Reserve 28-130 7.88%
5 Curry Remainder of County 05-005 6.00%
6 Eddy Artesia 03-205 7.77%
7 Eddy Carlsbad 03-106 7.52%
8  -  ? ... ... etc. ... ...

In a separate sheet named DA Template, I want a formula that takes a Location Code as input and returns the Rate from the matching row in the Tax Codes and Rates sheet.

Sample Results

Sheet: 'DA Template'

A B
1 Lookup Value
( Location Code )
Formula Result
( Rate )
2 05-005 6.00%
3 02-607 6.31%
4 03-106 7.52%

Using the sample tables above,

  1. Lookup value 05-005 located in 'DA Template'!A2 matches 'Tax Codes and Rates'!C5'
  2. Formula in 'DA Template'!B2 returns 6.00% the value from Rate in the same row: 'Tax Codes and Rates'!D5'

What formula would automatically return the Rate based on the Location Code?

Sample Google Sheets Workbook

In a Google Sheets workbook, I have a sheet named Tax Codes and Rates containing a tax table with the following 4 columns: County ,  Municipality or County ,  Location Code ,  Rate

Sample Lookup Data

Sheet: 'Tax Codes and Rates'

A B C D
1 County Municipality or County Location Code Rate
2 Bernalillo Santolina TID District 20 02-640 6.31%
3 Bernalillo Upper Petroglyphs TID District 1 02-607 6.31%
4 Catron Reserve 28-130 7.88%
5 Curry Remainder of County 05-005 6.00%
6 Eddy Artesia 03-205 7.77%
7 Eddy Carlsbad 03-106 7.52%
8  -  ? ... ... etc. ... ...

In a separate sheet named DA Template, I want a formula that takes a Location Code as input and returns the Rate from the matching row in the Tax Codes and Rates sheet.

Sample Results

Sheet: 'DA Template'

A B
1 Lookup Value
( Location Code )
Formula Result
( Rate )
2 05-005 6.00%
3 02-607 6.31%
4 03-106 7.52%

Using the sample tables above,

  1. Lookup value 05-005 located in 'DA Template'!A2 matches 'Tax Codes and Rates'!C5'
  2. Formula in 'DA Template'!B2 returns 6.00% the value from Rate in the same row: 'Tax Codes and Rates'!D5'

What formula would automatically return the Rate based on the Location Code?

Sample Google Sheets Workbook

Removed unrelated tags. Question updated to be self-contained with layout and data from linked workbook, edited for clarity.
Source Link
Blindspots
  • 7.5k
  • 5
  • 20
  • 38

Formula to "Autofill"autofill value from a list on a linkedseparate sheet

I would likeIn a field to auto-populate when I select data from another field. I understandGoogle Sheets workbook, I could do thishave a sheet named Tax Codes and Rates containing a tax table with an "IF" function.the following 4 columns: County ,  Municipality or County ,  Location Code ,  Rate

Sample Lookup Data

However, the data from the initiating field isSheet: 'Tax Codes and Rates'

ABCD
1CountyMunicipality or CountyLocation CodeRate
2BernalilloSantolina TID District 2002-6406.31%
3BernalilloUpper Petroglyphs TID District 102-6076.31%
4CatronReserve28-1307.88%
5CurryRemainder of County05-0056.00%
6EddyArtesia03-2057.77%
7EddyCarlsbad03-1067.52%
8 - ?...... etc.......

In a long list filled via data verification. If I select an item from the first listseparate sheet named DA Template, I would like it to populate withwant a formula that takes a Location Code as input and returns the corresponding numberRate from the adjacent fieldmatching row in the Tax Codes and Rates sheet.

Sample Results

Sample SheetSheet: 'DA Template'

AB
1Lookup Value
( Location Code )
Formula Result
( Rate )
205-0056.00%
302-6076.31%
403-1067.52%

For example: Using Data Verification, 'Template"!A2 is populated withUsing the list from 'Tax Codes and Rates' Column A. If I select 05-005 (which is 'Tax Codes and Rates'!A23) is there asample tables above,

  1. Lookup value 05-005 located in 'DA Template'!A2 matches 'Tax Codes and Rates'!C5'
  2. Formula in 'DA Template'!B2 returns 6.00% the value from Rate in the same row: 'Tax Codes and Rates'!D5'

What formula that would automatically 'Tax Codes and Rates'B23return the Rate based on the Location Code?

Sample Google Sheets Workbook

Formula to "Autofill" from a list on a linked sheet

I would like a field to auto-populate when I select data from another field. I understand I could do this with an "IF" function.

However, the data from the initiating field is a long list filled via data verification. If I select an item from the first list, I would like it to populate with the corresponding number from the adjacent field.

Sample Sheet

For example: Using Data Verification, 'Template"!A2 is populated with the list from 'Tax Codes and Rates' Column A. If I select 05-005 (which is 'Tax Codes and Rates'!A23) is there a formula that would automatically 'Tax Codes and Rates'B23?

Formula to autofill value from a list on a separate sheet

In a Google Sheets workbook, I have a sheet named Tax Codes and Rates containing a tax table with the following 4 columns: County ,  Municipality or County ,  Location Code ,  Rate

Sample Lookup Data

Sheet: 'Tax Codes and Rates'

ABCD
1CountyMunicipality or CountyLocation CodeRate
2BernalilloSantolina TID District 2002-6406.31%
3BernalilloUpper Petroglyphs TID District 102-6076.31%
4CatronReserve28-1307.88%
5CurryRemainder of County05-0056.00%
6EddyArtesia03-2057.77%
7EddyCarlsbad03-1067.52%
8 - ?...... etc.......

In a separate sheet named DA Template, I want a formula that takes a Location Code as input and returns the Rate from the matching row in the Tax Codes and Rates sheet.

Sample Results

Sheet: 'DA Template'

AB
1Lookup Value
( Location Code )
Formula Result
( Rate )
205-0056.00%
302-6076.31%
403-1067.52%

Using the sample tables above,

  1. Lookup value 05-005 located in 'DA Template'!A2 matches 'Tax Codes and Rates'!C5'
  2. Formula in 'DA Template'!B2 returns 6.00% the value from Rate in the same row: 'Tax Codes and Rates'!D5'

What formula would automatically return the Rate based on the Location Code?

Sample Google Sheets Workbook

I would like a field to auto-populate when I select data from another field. I understand I could do this with an "IF" function.

However, the data from the initiating field is a long list filled via data verification. If I select an item from the first list, I would like it to populate with the corresponding number from the adjacent field.

Sample Sheet: https://docs.google.com/spreadsheets/d/1x4GhIv4ptDkM-IpfdtLH2cFtfKk5gzYTYo4ETKhY68Y/edit?usp=sharingSample Sheet

For example: Using Data Verification, 'Template"!A2 is populated with the list from 'Tax Codes and Rates' Column A. If I select 05-005 (which is 'Tax Codes and Rates'!A23) is there a formula that would automatically 'Tax Codes and Rates'B23?

Thanks!

I would like a field to auto-populate when I select data from another field. I understand I could do this with an "IF" function.

However, the data from the initiating field is a long list filled via data verification. If I select an item from the first list, I would like it to populate with the corresponding number from the adjacent field.

Sample Sheet: https://docs.google.com/spreadsheets/d/1x4GhIv4ptDkM-IpfdtLH2cFtfKk5gzYTYo4ETKhY68Y/edit?usp=sharing

For example: Using Data Verification, 'Template"!A2 is populated with the list from 'Tax Codes and Rates' Column A. If I select 05-005 (which is 'Tax Codes and Rates'!A23) is there a formula that would automatically 'Tax Codes and Rates'B23?

Thanks!

I would like a field to auto-populate when I select data from another field. I understand I could do this with an "IF" function.

However, the data from the initiating field is a long list filled via data verification. If I select an item from the first list, I would like it to populate with the corresponding number from the adjacent field.

Sample Sheet

For example: Using Data Verification, 'Template"!A2 is populated with the list from 'Tax Codes and Rates' Column A. If I select 05-005 (which is 'Tax Codes and Rates'!A23) is there a formula that would automatically 'Tax Codes and Rates'B23?

Bumped by Community user
Source Link
Loading