MrExcel Message Board

Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old May 10th, 2002, 07:12 AM   #1
coolgaff
New Member
 
Join Date: May 2002
Posts: 7
Default

I have a sheet that has entered call times in rows from row 1-1000 (19:00 02:00 etc) these times are in relation to a specific country. What I want to do is have 2 columns/rows that has the time zone difference to UK time (+9hours or - 9 hours etc)what i want to calculate is a formula in the cells next to call time that either deducts or adds the timezone (+/-) from the call time, thus to give actual UK time.

so column A would be local call time 21:00 UK Call time (=local call time minus timezone to give actual time) Timezone +9 can it show the previous date if it goes back a day?

I have consulted my Excel bibles with no joy.
coolgaff is offline   Reply With Quote
Old May 10th, 2002, 07:16 AM   #2
Corticus
Board Regular
 
Corticus's Avatar
 
Join Date: Apr 2002
Location: Sarasota, FL
Posts: 1,539
Default

=+A1-9/24

Say A1 is your original time. -9/24 will give you 9 hours earlier. Substitue the 9 for whatever time difference you need, or substitute a variable for variable difference.
Make sure to use date and time format.
Corticus
Corticus is offline   Reply With Quote
Old May 10th, 2002, 08:06 AM   #3
coolgaff
New Member
 
Join Date: May 2002
Posts: 7
Default

Many Thanks, this is what I need. Medical calls to 9 different countries at 10,000+ where the patient has specified the time is challenging....

thanks
coolgaff is offline   Reply With Quote
Old May 10th, 2002, 08:09 AM   #4
coolgaff
New Member
 
Join Date: May 2002
Posts: 7
Default

Hi following up on this, what would you advise for when the time goes back a day say call time is 08:00am which -9/24 is 23:00 excel just shows ######??

coolgaff is offline   Reply With Quote
Old May 10th, 2002, 08:11 AM   #5
Corticus
Board Regular
 
Corticus's Avatar
 
Join Date: Apr 2002
Location: Sarasota, FL
Posts: 1,539
Default

make the column bigger
Corticus is offline   Reply With Quote
Old May 10th, 2002, 08:11 AM   #6
Corticus
Board Regular
 
Corticus's Avatar
 
Join Date: Apr 2002
Location: Sarasota, FL
Posts: 1,539
Default

or the text smaller

Corticus
Corticus is offline   Reply With Quote
Old May 10th, 2002, 08:20 AM   #7
coolgaff
New Member
 
Join Date: May 2002
Posts: 7
Default

HI I have tried both no joy
formula reads in cell e16, =+D16-9/24 but gives ########
d16 is 08:00 if I change d16 to anything higher (09:00) then it converts the time no problem as it recognises it as in the same day.
coolgaff is offline   Reply With Quote
Old May 10th, 2002, 11:40 AM   #8
Corticus
Board Regular
 
Corticus's Avatar
 
Join Date: Apr 2002
Location: Sarasota, FL
Posts: 1,539
Default

okay,

since I started the D16 thing,
D16(your date/time input cell) should be entered in the form of a date and time. Make sure that Excel recognizes it as such.
First, format D16 as "3/14/98 1:30 pm" under the date format
then format E16 (or wherever you put the formula) the same
then do:
=+D16+H/24
where H = the number of hours +/- for going forward or back,
it works on mine!
-Corticus
Corticus is offline   Reply With Quote
Old May 10th, 2002, 01:47 PM   #9
Jack in the UK
Board Regular
 
Join Date: Feb 2002
Posts: 3,065
Default

suggest userform and UDF to add or less hours required can add drop down to select the country as UDF will comvert.

silly idea why not have command button to open userform with 9 clocks on the digital..

erm be careful as the macro will run and excel will not allow other useage... but close can kill the code..

some suggestions.

I once had Java clock which moved.... secondes and so on...

even had my name rotating arroung the clock round fact...


__________________
Free Excel based Web Toolbar available here.

Jack in the UK
J & R Excel Solutions
"making Excel work for you"
Jack in the UK is online now   Reply With Quote
Old May 13th, 2002, 01:55 AM   #10
coolgaff
New Member
 
Join Date: May 2002
Posts: 7
Default

Hi I must be a muppet still cannot get it to work.
sample below it now gives the name error

Call Date "Initial
Call Time (24hr clock) "
Time Actual UK timezone +hrs
11-Jun 19:00 #NAME? 9
22-Jun 18:30 #NAME? 9
11-Jun 16:00 #NAME? 9
11-Jun 19:00 #NAME? 9
coolgaff is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 06:47 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
All contents Copyright 1998-2012 by MrExcel Consulting.
diabetic desserts recipes recipes Diabetic Soups Holiday Pizza Recipes Popcorn Recipes Recipes For Microwave Pasta Recipes Casserole Recipes Chili Recipes Curry Recipes Crockpot Recipes Apples Recipes Bread Recipes Vegetarian Recipes Vegetable recipes Desserts Recipes Appetizers Ethnic Recipes Meat Dishes Barbecue Recipes Sauces Recipes Marinade Recipes Low Fat Recipes Frugal Gourmet Kitchen Classics Recipes On The Grill Cook Books Seafood Recipes Cajun Recipes Breads Low Fat Low Fat Breads Bread Machine Recipes Yeast Breads Quick Breads Fat Free Vegetarian Salad Recipes Eggplant Recipes Radish Recipes Tomato Recipes Jalapeno Recipes Potato Recipes Lettuce Recipes Cabbage Recipes Beans Ambrosia Recipes Biscotti Recipes Desserts Low Fat Cookie Recipes Cheesecake Recipes Cake Recipes Pie Recipes Muffin Recipes Custard Recipes Best Appetizers Appetizers Low Fat Salsa Recipes Dip Recipes International Recipes Afghan Recipes Alaska Recipes French Recipes German Recipes Greek Recipes Italian Recipes Spanish Recipes Thai Recipes Korean Recipes Chinese Recipes Mexican Recipes Indian Recipes Beef Recipes Pork Pork & Ham Pork Butts Pork Chop Recipes Pork Ribs Rulled Pork Poultry Recipes Stews Recipes Ground Beef Barbecue Grill Barbecue Smoker All Purpose Sauce BBQ Sauce Barbecue Sauce Carolina BBQ Sauce Pickle Recipes Marinades Smoking Low Fat Appetizers & Dips Low Fat Breakfast Low Fat Cakes Low Fat Cheesecakes Low Fat Cookies Low Fat Desserts Low Fat Fish & Seafood Low Fat Meats Low Fat Pasta Low Fat Pies Low Fat Salads Low Fat Sandwiches Low Fat Sauces & Condiments Low Fat Sides Low Fat Soups Low Fat Vegetarian Baker's Dozen Taste of Home Recipe Book Bon Appetit Cookbook Blacktie Cookbook Buster Cook Book Cookbook USA Cook Book Cook Book Sara's Cookbook Sara's Cookbook Appetizers and Dips Poultry recipes Diabetic recipes Holiday recipes Miscellaneous recipes 110 recipes 1986 Usenet cookbook 2900 recipes Cyberrealm recipes Great sysops of world Specialty recipes Ceideburg recipes Cheese recipes Chili recipes Fruits recipes Garlic recipes Great chefs of NY Londontowne recipes Raisins recipes Recipes for kids US Food Vegetarian recipes Bread recipes Drinks Meat Dishes Brisket recipes Caribou recipes Chicken recipes Filet mignons recipes Pork recipes Swordfish recipes Turkey recipes Pasta recipes Uncategorized recipes Ethnic recipes Canada recipes English recipes Ethiopia recipes Germany recipes Greece recipes Mexican recipes Philippines recipes Welsh recipes Microwave recipes Soups recipes Vegetable recipes Asparagus recipes Barley recipes Brown rice recipes Lentil recipes Mushrooms recipes Salads recipes Wild rice Desserts recipes Cakes recipes Chocolate recipes Cookies recipes Ice cream recipes