use of vlookup result in if statement

saba

New Member
Joined
Aug 4, 2011
Messages
1
I have to prepare cash budget with months in a clolumn and credit sale in other.
in budget section i want to show against each month the amount received from credit sale while it is received as
20% in first month
30% in second month
50% in third month
of sale
what i was doing is that i am using if statement and vlookup in it.i want that if m enable to lookup the data then as other argument some calculation to be performed on it.but don't know how to refer to result of data
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
I have to prepare cash budget with months in a clolumn and credit sale in other.
in budget section i want to show against each month the amount received from credit sale while it is received as
20% in first month
30% in second month
50% in third month
of sale
what i was doing is that i am using if statement and vlookup in it.i want that if m enable to lookup the data then as other argument some calculation to be performed on it.but don't know how to refer to result of data


Hi,
As far as i know can in vba by setting vlookup value to a variable but if you did this in a formula you would have a circular and it would die.

maybe use 2 cells with formulas? one looks up the vlookup with your if statement then the one below it calculates what u need from that cell?

eg:
Code:
A1:  =if vlookup something
A2: = A1 * 2
 
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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