Running Text String as a Formula

jtm2000

New Member
Joined
Feb 15, 2018
Messages
4
Any help here would be appreciated. We have moved to the online subscription of Excel and my previous EVALUATE function doesn't seem to exist. I do not have any background in VBA, so I'm unsure of the possible solutions to my problem which appear in searches.

I have some very large sheet that has to be as automated as possible for dissemination to other analysts and our sales group. Keeping the sales people out of the formulas is pretty key. I'm trying to pull formulas that are saved separately on a different sheet and then run them with a value on a different table (example below). I can of course retrieve the text string but have not way to run that as a formula. Bear in mind that we will likely be pulling 4+ of these items so the values would be mixed. Any ideas? (Preferably without VBA, but I'm open to suggestions!)

Table 1:

Formula in Value:

=IFERROR(INDEX(Table2,MATCH([@FeeCode],Table2[Fee],0),MATCH([@Vendor],Table2[#Headers],0)),0)

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Weight[/TD]
[TD]Vendor[/TD]
[TD]FeeCode[/TD]
[TD]Value[/TD]
[/TR]
[TR]
[TD]100
[/TD]
[TD]V1[/TD]
[TD]Fee1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]250[/TD]
[TD]V2[/TD]
[TD]Fee2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]500[/TD]
[TD]V1[/TD]
[TD]Fee3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000[/TD]
[TD]V2[/TD]
[TD]Fee4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1500[/TD]
[TD]V1[/TD]
[TD]Fee5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2500[/TD]
[TD]V2[/TD]
[TD]Fee6[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5000[/TD]
[TD]V2[/TD]
[TD]Fee7[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7500[/TD]
[TD]V1[/TD]
[TD]Fee8[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9000[/TD]
[TD]V2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


Table2:

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Fee[/TD]
[TD]V1[/TD]
[TD]V2[/TD]
[/TR]
[TR]
[TD]Fee1[/TD]
[TD]75[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]Fee2[/TD]
[TD]MIN(MAX(([@Weight)/100)*5,50),250)[/TD]
[TD]MIN(MAX(([@Weight)/100)*10,100),500)[/TD]
[/TR]
[TR]
[TD]Fee3[/TD]
[TD]50[/TD]
[TD]25[/TD]
[/TR]
[TR]
[TD]Fee4[/TD]
[TD]MAX(([@Weight)/100)*10,100)[/TD]
[TD]MIN(MAX(([@Weight)/100)*10,100),500)[/TD]
[/TR]
[TR]
[TD]Fee5[/TD]
[TD]MIN(MAX(([@Weight)/100)*5,50),250)[/TD]
[TD]MIN(MAX(([@Weight)/100)*10,100),500)[/TD]
[/TR]
[TR]
[TD]Fee6[/TD]
[TD]25[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]Fee7[/TD]
[TD]MAX(([@Weight)/100)*5,50)[/TD]
[TD]MAX(([@Weight)/100)*5,50)[/TD]
[/TR]
[TR]
[TD]Fee8[/TD]
[TD]50[/TD]
[TD]100[/TD]
[/TR]
</tbody>[/TABLE]


I'm sure I've missed something fantastically simple or easy here. Thanks in advance for any help you can give!
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,223,896
Messages
6,175,264
Members
452,627
Latest member
KitkatToby

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