Finding Budgets by day

adovix

New Member
Joined
Sep 8, 2014
Messages
2
In advance I would like to thank anyone who can help me here. I have not got a lot of experience in coding in excel but I am amazed at what it really can do. I have something I can not figure out even after searching the forums:

To simplify it I have a list of dates in column A then followed by the budget for that day in column B.

I want a script to fill in a completely new cell that goes down the list of dates and pulls the right budget and fills it in properly.

I am sure this must be simple to do, I just lack the knowledge of all the possible commands.
This is my example

Goal=

9/8/2014</SPAN>$597.81</SPAN>
9/9/2014$614.27
9/10/2014$580.35

<TBODY>
</TBODY><COLGROUP><COL><COL></COLGROUP>
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
your requirement not clear see the data here is this what you want, viz.the formula in G2

Sheet1

*ABCDEFG
1datebudsget*****
29/8/2014$597.81 ***9/10/2014580.35
39/9/2014$614.27 *****
49/10/2014$580.35 *****

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:78.4px;"><col style="width:64px;"><col style="width:64px;"><col style="width:64px;"><col style="width:64px;"><col style="width:68.8px;"><col style="width:64px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
G2=VLOOKUP(F2,A2:B4,2,0)

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 
Upvote 0
Perfect, that is exactly what I want. I need to modify it a bit for my needs but the vlookup is the command I could not figure out. Thank you so much!
 
Upvote 0
Try this:
Code:
For i = 2 To Sheets("1").UsedRange.Rows.Count
If DateValue(ThisWorkbook.Sheets("1").Cells(i, 1)) = DateValue(ThisWorkbook.Sheets("1").Cells(2, 6)) Then
Range("G2").Value=Range("B" & i).Value
End if
Next
 
Upvote 0

Forum statistics

Threads
1,214,590
Messages
6,120,421
Members
448,961
Latest member
nzskater

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