Даты облигаций - Советы по Excel

Содержание

В сегодняшнем «Дуэльном Excel» Майк и Билл пытаются разобраться с датами облигаций. Допустим, вы покупаете шестимесячную облигацию в середине месяца. Вам нужно рассчитать проценты за полный месяц для месяцев 2, 3, 4, 5, 6, но только за половину месяца в месяц 1 и месяц 7.

Смотреть видео

  • Цель состоит в том, чтобы заполнить даты начала и окончания для ежемесячного отслеживания облигации.
  • Метод Билла. EOMONTH. EDATE.
  • ЕСЛИ перетащить EDATE, если это MIN (EDATE, EOMONTH)
  • Столбец Helper вычисляет новое EDATE, когда используется EDATE
  • Дата начала в следующей строке проста: бывшая дата окончания + 1
  • Метод Майка:
  • DNF

Автоматически созданная стенограмма

  • привет, добро пожаловать обратно, пришло время для другого
  • два дуэльных подкаста Excel Я Билл Джелен
  • от меня присоединится Майк
  • правительство от Excelis
  • выпуск 184 облигации дат сегодняшние вопросы
  • отправлено через YouTube, у кого-то есть связь
  • вложения 19 мая как полугодие
  • зрелости и поэтому каждый месяц им нужно
  • рассчитать сделать какой-то расчет
  • так что с этой даты начала выходите на
  • дата окончания и что они пытаются
  • они пытаются заполнить этот список
  • дат
  • хорошо, исходя из того, что прошло шесть месяцев
  • там прямо и весь трюк от
  • 9 мая, если вы выйдете на полгода в этом
  • месяц, вижу, это всегда просто целое
  • месяц целый месяц целый месяц
  • весь месяц, но когда мы дойдем до месяца
  • где созревает нам нужно рассчитать
  • Связать первую облигацию с первого из
  • Ноябрь до даты погашения и
  • затем мы начинаем на следующий день и переходим к
  • конец месяца, и это с
  • первый, что конец месяца
  • полностью, пока не дойдете до 12
  • месяцев после облигации, потому что это
  • когда наступит срок погашения второй облигации и так
  • вниз по списку хорошо, так что
  • Теперь вот моя попытка этого
  • хорошо и что я сделал, если у тебя есть
  • может быть другое количество месяцев
  • 12-месячная облигация или 3-месячная облигация, или
  • что-то, что я сделал это переменной
  • здесь, но сначала с самого начала
  • Дата, это действительно просто, нам просто нужно
  • до конца месяца я собираюсь
  • использовать функцию со времен
  • старый набор инструментов анализа, но с Excel
  • 2007 это полноценная функция Excel в панировке
  • с даты начала гаснет 0 месяцев
  • Это приведет нас к концу этой даты
  • and hey the first time they use this
  • it's going to give you a number like
  • this 42 521 well that's just a serial
  • number
  • we just need to force Excel to display
  • that serial number as a date all right
  • so there we go that's simple from the
  • start date to the end date and then the
  • next start date well that's the simplest
  • thing in this whole video equal this
  • plus one perfect and then we use the EO
  • month there like that and copy down to
  • however many rows you need to copy down
  • all right it's all beautiful except for
  • when we get to the point where we have
  • the maturity date what I'm calling over
  • here is a special date the next special
  • date now what I'm going to do I'm going
  • to use this as a helper column out here
  • to help me keep track of this and I'm
  • going to use a function that I
  • don't use very often called edate so ej
  • starts from the original investment date
  • May 9th and it goes out some number of
  • months in this case b1 and months and
  • what it does it gets us to the date
  • where we have to split the month and a
  • half alright so now that I know what the
  • next special date is you know you might
  • think that I'm going to use an if
  • function alright and if function to say
  • you know is the value and column C less
  • than the value and column B if so use
  • the value from column C otherwise use
  • the value from column B but know there's
  • this awesome trick that I love using if
  • we need to do that whole Matt you know
  • take take this one if it's less or that
  • one of it's less all you do is a yes for
  • the mint the mint of what we have
  • calculated in column B comma and then
  • what we have calculated in column C like
  • that alright and now in this case the
  • choice was 531 or November nights and of
  • course 531 but when we get down to
  • November it's all going to work all
  • right now our special dates we can't
  • just copy this down if I was going to
  • copy down by the way I would have
  • pressed that for there to put the dollar
  • signs in but I knew that this one's not
  • going at comp people what I'm going to
  • do is say hey look go look and see if in
  • the last row the ending date was the
  • special date and if it was if the ending
  • date was a special day we need to
  • calculate a new special date and the new
  • special date is going to be the e date
  • of that ending date comma and then go up
  • to six months and this time I'm going to
  • press f4 to put the dollar signs in
  • otherwise if this isn't a month where we
  • just use the special dates then just use
  • the previous special date like that all
  • right and so I want to copy that one
  • down okay now here the min didn't copy
  • that down need to copy that down at this
  • point all right and it should be working
  • so we invested on May 9th that means
  • that on November 9th we need to split
  • the month so right there there's the
  • partial month for bond one and then we
  • buy bond two and are calculating from
  • the 10th through the end of the month
  • and then from here so on May 9th is when
  • we reinvest our November 9th is when we
  • reinvest so May 9th of the next year
  • better be the spot where we get the
  • partial month
  • and let's just do a test here let's do a
  • three-month bond and what we see happen
  • is now five nine it matures on August
  • 9th and we get two months for August and
  • then two months for November and so on
  • right so we can put in any number up
  • here twelve months or two months or or
  • whatever and it's going to do the
  • calculation correctly all right now Mike
  • that was convoluted how to use EEO
  • месяцев на свидании в узбекистане я использовал трюк с мин
  • а потом наконец и если и как построить
  • все это давай посмотрим, что у тебя есть
  • ну вот ответ Майка извини
  • после пяти часов попыток я даже не могу
  • понимаю, о чем он говорит
  • хорошо, итоговая цель - заполнить
  • даты начала и окончания для отслеживания
  • ежемесячно мы использовали месяц угря LM в редакции
  • если перетащить дату подходит минимум
  • Идти тур йо месяц колонка помощников
  • вычисляет новую дату, когда дата e
  • используется, а затем дату начала естественного
  • легко просто бывшая дата окончания плюс
  • один
  • Метод Майка не мужик, я хочу поблагодарить
  • Вы зашли, увидимся дальше
  • время делать подкаст Excel от MR.
  • Excel и Excel - это весело

Скачать файл

Загрузите образец файла здесь: Duel184.xlsm

Интересные статьи...