garden_rael
Board Regular
- Joined
- Apr 1, 2008
- Messages
- 100
HELLO GUYS... THERE IS SOMETHING SO SIMPLE SO SIMPLE THAT IS DRIVING ME CRAZY...
Ler's see If I can explain my-self...
I'm trying to create a summary for a report that runs almost daily... the summary should go into each created book and look for specific data for an specific user...
I though of doing a simple table, user in one column, dates on the upper row...
Now... the reports doesn't have the same name every day... The name it's... let's say... "Cool Report 1" + Today's Date... (That's how the report it's created every day on a folder), It has the same sheets so no worries on the sheet name...
Now... I was thinking of vlookup, but I didn't want to write single vlookup for dates that won't even exist, I know that might be somehow easier... But I like it the hard way hahaha lol and with a little help of you guys I'm sure I'll make it...
I tried ADDRESS, but when I use it for vlookup it brings up VALUE#! bc it takes my ADDRESS as text,
So... I tried a macro
Dim DD As String
DD = Cells(6, 3).Value
ActiveCell.FormulaR1C1 = "=VLOOKUP(RC2," & DD & ",1,0)"
Range("C9").Select
End Sub
Whenever you want to update a date, It would writte that formula, but my variable DD, It's not written with the macro!!!!!
and I get #NAME?
DD will be set every time you run it with a mobile cell.. for ex..
If you are on cell C8, the values you'd need would be VLOOKUP(B8,DD*which would be "C6"*,3,0), if you go to D8, then It would be
VLOOKUP(B8,DD*D6 in this case*,3,0)...
So the Path info it's in the row 6, and the users ID is in the column D
OMG, I hope someone out there understands this mess...
Hope you can help!
Ler's see If I can explain my-self...
I'm trying to create a summary for a report that runs almost daily... the summary should go into each created book and look for specific data for an specific user...
I though of doing a simple table, user in one column, dates on the upper row...
Now... the reports doesn't have the same name every day... The name it's... let's say... "Cool Report 1" + Today's Date... (That's how the report it's created every day on a folder), It has the same sheets so no worries on the sheet name...
Now... I was thinking of vlookup, but I didn't want to write single vlookup for dates that won't even exist, I know that might be somehow easier... But I like it the hard way hahaha lol and with a little help of you guys I'm sure I'll make it...
I tried ADDRESS, but when I use it for vlookup it brings up VALUE#! bc it takes my ADDRESS as text,
So... I tried a macro
Dim DD As String
DD = Cells(6, 3).Value
ActiveCell.FormulaR1C1 = "=VLOOKUP(RC2," & DD & ",1,0)"
Range("C9").Select
End Sub
Whenever you want to update a date, It would writte that formula, but my variable DD, It's not written with the macro!!!!!
and I get #NAME?
DD will be set every time you run it with a mobile cell.. for ex..
If you are on cell C8, the values you'd need would be VLOOKUP(B8,DD*which would be "C6"*,3,0), if you go to D8, then It would be
VLOOKUP(B8,DD*D6 in this case*,3,0)...
So the Path info it's in the row 6, and the users ID is in the column D
OMG, I hope someone out there understands this mess...
Hope you can help!