Multiplication Number Based On Index Number (Default)

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,077
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hi all..

how to find formula for this problem
Pemantauan Identifikasi Titik Rawan Gratifikasi Agust 23.xlsx
DEFGH
2nameindeks (default)
3building5
4cars10
5
6namegivendesired result
7building52
8building104from (10/5*2)
9building208from (20/5*2)
10building166,4from(16/5*2)
11cars102from(10/10*2)
12cars306from(30/10*2)
Sheet1

index number is default (based on name) building or cars
for bulding always multplicate 5 and for cars is 10, my target in col F7 down
for your help, thank in advance
please, don't use helper column
if it's possible, i hope can use If function not Vlookup

.sst
 
Last edited:

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Try this?
Book3
DEFG
2nameindeks (default)
3building5
4cars10
5
6namegivendesired result
7building52
8building104from (10/5*2)
9building208from (20/5*2)
10building166.4from(16/5*2)
11cars102from(10/10*2)
12cars306from(30/10*2)
Sheet1
Cell Formulas
RangeFormula
F7:F12F7=E7/XLOOKUP(D7,$D$3:$D$4,$E$3:$E$4)*2
 
Upvote 1
Or you can use a VLOOKUP to get the same results.
Book1
ABCD
1nameindeks (default)
2building5
3cars10
4
5namegivendesired result
6building52
7building104from (10/5*2)
8building208from (20/5*2)
9building166.4from(16/5*2)
10cars102from(10/10*2)
11cars306from(30/10*2)
Sheet1
Cell Formulas
RangeFormula
C6:C11C6=B6/VLOOKUP(A6,$A$2:$B$3,2)*2
 
Upvote 0
hi Bosquedeguate, the name is alphabet i mean
building
cars

if the lookup is not alphabet, the formula not correct well
how to fix it?
sorry, i have use more 1 device, the formulacan work too in Excel 2010
 
Upvote 0
hi Bosquedeguate, the name is alphabet i mean
building
cars

if the lookup is not alphabet, the formula not correct well
how to fix it?
sorry, i have use more 1 device, the formulacan work too in Excel 2010
I do not understand your question.
Are you getting an error?
 
Upvote 0
yes you're right, if my index change position
name
cars
building

your formula it not fully work
 

Attachments

  • problem.png
    problem.png
    10.8 KB · Views: 1
Upvote 0

Forum statistics

Threads
1,215,091
Messages
6,123,062
Members
449,089
Latest member
ikke

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