How to do an If statement with a formula involving a possible vlookup

exceluser4

New Member
Joined
Mar 19, 2012
Messages
12
If the grade name in Column A equals the grade name in Column E then I want it to take the Salary in Column B and divide it by the Grade Mid in Column G. The way I have the formula, which is wrong, works only if the data is all on the same row. But as you can see the data in Column A will not always be on the same row. Any help would be greatly appreciated. Thanks so much!
Column A
Grade Name:​
Column B
Salary​
Column C
New comp​
Column E
Grade Name:​
Column F
Grade Min:​
Column G
Grade Mid:​
Column H
Grade Max:​
E06​
30,000.00​
80%​
E06​
29,910.00​
37,387.00​
44,865.00​
E07​
39,000.00​
96%​
E07​
32,624.00​
40,780.00​
48,936.00​
E08​
32,000.00​
72%​
E08​
35,621.00​
44,526.00​
53,431.00​
E09​
49,000.00​
101%​
E09​
38,890.00​
48,613.00​
58,336.00​
E10​
44,000.00​
83%​
E10​
42,466.00​
53,083.00​
63,700.00​
E11​
50,000.00​
86%​
E11​
46,377.00​
57,971.00​
69,565.00​
E12​
60,000.00​
95%​
E12​
50,632.00​
63,290.00​
75,948.00​
H10​
10.00​
FALSE​
H07​
9.87​
11.61​
13.35​
H09​
9.50​
FALSE​
H08​
9.13​
10.75​
12.36​
H08​
9.50​
FALSE​
H09​
8.45​
9.95​
11.44​
H07​
8.50​
FALSE​
H10​
7.82​
9.20​
10.58​
H11​
7.25​
8.51​
9.77​
H12​
7.25​
8.15​
9.05​

<TBODY> </TBODY>
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
try below
Excel Workbook
ABCDEFGH
1Grade Name:SalaryNew compGrade Name:Grade Min:Grade Mid:Grade Max:
2E0630,000.0080%E0629,910.0037,387.0044,865.00
3E0739,000.0096%E0732,624.0040,780.0048,936.00
4E0832,000.0072%E0835,621.0044,526.0053,431.00
5E0949,000.00101%E0938,890.0048,613.0058,336.00
6E1044,000.0083%E1042,466.0053,083.0063,700.00
7E1150,000.0086%E1146,377.0057,971.0069,565.00
8E1260,000.0095%E1250,632.0063,290.0075,948.00
9H1010109%H079.8711.6113.35
10H099.595%H089.1310.7512.36
11H089.588%H098.459.9511.44
12H078.573%H107.829.210.58
13H117.258.519.77
14H127.258.159.05
Monthly Schedule Bus. Credit
 
Upvote 0

Forum statistics

Threads
1,213,513
Messages
6,114,064
Members
448,545
Latest member
kj9

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