Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default vlookup&inputbox

hi......very much a beginner here...but I have managed to put together a sub
that gives me a small table from an output of telesales operators
calls....columns involve "calls made", "#sales", "total$"

Each operator has 2 "2opnumbers" (not always the same each day) so I am now
trying to put together a sub that allows me collate the info from the table
using an input box to allow me to assign a name to each "opnumber"..
from there lookup each op's credits, and sum the two credits for each op
(does that make sense?)

I've tried the following, which doesn't work.
Would someone like to help?
thanks
user1 = Val(InputBox("Maureen, First Op#", 1))
user2 = Val(InputBox("Maureen, Second Op#"))
mc1 = "=vlookup(user1,f8:j8,2)"
mc2 = "=vlookup(user2,F8:J8,2)"
Worksheets("opstats 154").Range("n4") = "=sum(mc1+mc2)"






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
InputBox Help Mark[_8_] Excel Discussion (Misc queries) 2 November 24th 08 11:07 PM
InputBox with VBA Mark[_8_] Excel Discussion (Misc queries) 0 November 24th 08 12:39 AM
InputBox peyman Excel Discussion (Misc queries) 4 September 28th 07 04:53 PM
Inputbox with VBA Jeff Excel Discussion (Misc queries) 3 January 19th 06 05:18 PM
Vlookup with an InputBox Jeff Excel Discussion (Misc queries) 3 October 3rd 05 06:09 PM


All times are GMT +1. The time now is 10:31 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"