Requesting data from table

AllexDee

New Member
Joined
Nov 25, 2024
Messages
11
Office Version
  1. 365
Platform
  1. Windows
Hi, the name is Alex and i am trying to reproduce a smart form (if you want to call it that).

Im working on a Pressure equipment directive calculator, yes im aware there is tools out there but due being for a corporate company a lot of software is banned so we have to make our own using excel.

The image below lets the user define the Pressure and volume of the asset/system.
then once these are set, the category should appear underneath from the table i have made as seen on image 2.
the formula i was using wasn't working properly and i forgot to save so i have no formula to share here. (Apologies).
1732982345259.png


I would love to have a chat with some one hoping they could help with a better way of designing this and maybe more straight forward.

1732982365077.png


Thankyou in advance and i do apologise if this is really basic.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
It's pretty straight-forward. Could you paste the Worksheet here using the XL2BB Add-In?
 
Upvote 0
It's pretty straight-forward. Could you paste the Worksheet here using the XL2BB Add-In?
it's not letting me use the add-in, says "this file is not supported in Protected view. I'm using my personal PC now for this.
 
Upvote 0
It's pretty straight-forward. Could you paste the Worksheet here using the XL2BB Add-In?
PED Calculator.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAP
1
2
3
4STEP 1STEP 3Bar (g) \ Volume (L)VolumeColumn1Column2Column3Column4Column5Column6Column7Column8Column9Column10Column11Column12Column13Column14Column15Column16Column17Column18
511121314151617192022252833405065100200400
6Type of Equipment (drop down list)Design Data (drop down list)0.5SEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEP
7VesselsDesign Pressure PS10Bar(g)0.51SEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPCAT 1
81SEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPCAT 1CAT 1
9Fluid Group (drop down list)Volume (V)12L2SEPSEPSEPSEPSEPSEPSEPSE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EPCAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2315SEPSEPSEPCAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2416SEPSEPCAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2517SEPCAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2618SEPCAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2719CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2820CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
29
30
31
32
Sheet3
 
Upvote 0
Book1
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAP
1
2
3
4STEP 1STEP 3Bar (g) \ Volume (L)VolumeColumn1Column2Column3Column4Column5Column6Column7Column8Column9Column10Column11Column12Column13Column14Column15Column16Column17Column18
511121314151617192022252833405065100200400
6Type of Equipment (drop down list)Design Data (drop down list)0.5SEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEP
7VesselsDesign Pressure PS10Bar(g)0.51SEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPSEPCAT 1
81SEPSEPSEPSEPSEP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SEPSEPSEPSEPSEPCAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2214SEPSEPSEPSEPCAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2315SEPSEPSEPCAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2416SEPSEPCAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2517SEPCAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2618SEPCAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2719CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2820CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
29
30
31
32
Sheet1
Cell Formulas
RangeFormula
O11O11=VLOOKUP(O7,V6:AO28,O9)
 
Upvote 0
Book1
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAP
1
2
3
4STEP 1STEP 3Bar (g) \ Volume (L)VolumeColumn1Column2Column3Column4Column5Column6Column7Column8Column9Column10Column11Column12Column13Column14Column15Column16Column17Column18
511121314151617192022252833405065100200400
6Type of Equipment (drop down list)Design Data (drop down list)0.5SEPSEPSEPSEPSEPSEP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2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2012SEPSEPSEPSEPSEPSEPCAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2113SEPSEPSEPSEPSEPCAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2214SEPSEPSEPSEPCAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2315SEPSEPSEPCAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2416SEPSEPCAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2517SEPCAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2618SEPCAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2719CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
2820CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2CAT 2
29
30
31
32
Sheet1
Cell Formulas
RangeFormula
O11O11=VLOOKUP(O7,V6:AO28,O9)
one issue is that if the pressure changes and volume changes its not giving out the right value with that
 
Upvote 0
EDIT - 02.12.2024

Apologies if i didn't explain myself properly, What i need help with is that you go down the pressure collum and whatever that may be, let's go with 10 bar in this case, you then you go across the volume row and find what you're looking for (22 litres for volume), once that has been done you cross them both to where they meet and that should pop up in the category cell, and you should get Cat 1.
 
Upvote 0
How about
Excel Formula:
=INDEX(W6:AO28,XMATCH(O7,V6:V28),XMATCH(O9,W5:AO5))
 
Upvote 1
Solution
Check that all your numbers are real numbers & not text.
 
Upvote 0

Forum statistics

Threads
1,224,272
Messages
6,177,634
Members
452,787
Latest member
BeeTH

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